Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install any pip libraries, there was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645) #3883

Closed
borisbarreto opened this issue Jul 31, 2016 · 10 comments

Comments

@borisbarreto
Copy link

borisbarreto commented Jul 31, 2016

  • Pip version: 8.1.1
  • Python version: 3.5.2
  • Operating System: Windows 10

I'm not able to install any pip libraries and I'm getting error.

pip install --upgrade pip
python -m pip install -U pip
pip install flake8

Error in the console

Could not fetch URL https://pypi.python.org/simple/pip/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645) - skipping

Could not fetch URL https://pypi.python.org/simple/flake8/: There was a problem confirming the ssl > certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645) - skipping
Could not find a version that satisfies the requirement flake8 (from versions: )
No matching distribution found for flake8

@borisbarreto borisbarreto changed the title Could not fetch URL https://pypi.python.org/simple/...../: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645) - skipping Unable to install any pip libraries, there was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645) Aug 1, 2016
@dstufft
Copy link
Member

dstufft commented Sep 7, 2016

Is this still happening?

@borisbarreto
Copy link
Author

Not anymore, I installed the pip 8.1.2 and I was able to install the other pip libraries

@dstufft
Copy link
Member

dstufft commented Sep 7, 2016

Ok, great!

@srinivasalokesh
Copy link

I am getting similar error on windows 10
C:\WINDOWS\system32>pip install robotframework
Collecting robotframework
Could not fetch URL https://pypi.python.org/simple/robotframework/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_ACCESS_DENIED]
tlsv1 alert access denied (_ssl.c:661) - skipping
Could not find a version that satisfies the requirement robotframework (from versions: )
No matching distribution found for robotframework

@srinivasalokesh
Copy link

pip (9.0.1)
setuptools (28.8.0)

@mithunsureshqa
Copy link

i am having same issue.
pip install robotframework
Collecting robotframework
Could not fetch URL https://pypi.python.org/simple/robotframework/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661) - skipping
Could not find a version that satisfies the requirement robotframework (from versions: )
No matching distribution found for robotframework

@srinivasalokesh
Copy link

Hi,

Check your office N/W, I had an issue with my office N/W I was using and I was not allowed to install. I connected to a different office N/W and changed my proxy settings too. I am able to install now.

Thanks,
Lokesh

@mejihero
Copy link

some problem when import sklearn:
it works in terminal when import sklearn but it didn't work in Spyder/console (ImportError: No module named 'numnpy')

Could not fetch URL https://pypi.python.org/simple/pip/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645) - skipping

pip version: 8.1.1
python version: 3.5.1
OS: windows 7

Thanks,
Leo

how to upgrade to pip 8.1.2?

@srinivasalokesh
Copy link

Please update the PIP and check again.

Below are my details of pip and python

pip -V
pip 9.0.3 from c:\python27\lib\site-packages (python 2.7)

@pradyunsg
Copy link
Member

Anyone who's still facing these issues, please look at #4459.

@pypa pypa locked as resolved and limited conversation to collaborators Jun 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants