-1

I'm facing this error for a while! I'm using python 3.7.3 and pip version 19.0.3.

When I try to install any python library this error appears:

Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SS
LCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certif
icate (_ssl.c:1056)'))': /simple/fpdf/

I already try add this command:

--trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org

but it isn't working! How can I solve this error? Here is the error image error

1

1 Answer 1

0

You need to upgrade the pip and then it will install new certificate :

python -m pip install --upgrade pip
Sign up to request clarification or add additional context in comments.

4 Comments

I already upgrade pip, but the error is still there
Last time that i got a similar issue i was facing a problem related to my openssl deprecated version
Is it possible to update my openssl? How?
pip install pyopenssl

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.