-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Install package failed due to SSL error #2494
Comments
The failed run did |
Sorry for previous log. It's the output : $ /home/vagrant/Cloud/git/nimbus-dashboard/.tox/pep8/bin/pip -v install Flask
Collecting Flask
Getting page https://pypi.python.org/simple/flask/
Starting new HTTPS connection (1): pypi.python.org
Could not fetch URL https://pypi.python.org/simple/flask/: connection error: [Errno 185090057] _ssl.c:330: error:0B084009:x509 certificate routines:X509_load_cert_crl_file:PEM lib
Will skip URL https://pypi.python.org/simple/flask/ when looking for download links for Flask
URLs to search for versions for Flask:
* https://pypi.python.org/simple/flask/
Getting page https://pypi.python.org/simple/flask/
Starting new HTTPS connection (2): pypi.python.org
Could not fetch URL https://pypi.python.org/simple/flask/: connection error: [Errno 185090057] _ssl.c:330: error:0B084009:x509 certificate routines:X509_load_cert_crl_file:PEM lib
Will skip URL https://pypi.python.org/simple/flask/ when looking for download links for Flask
Could not find any downloads that satisfy the requirement Flask
Cleaning up...
No distributions at all found for Flask
Exception information:
Traceback (most recent call last):
File "/home/vagrant/Cloud/git/nimbus-dashboard/.tox/pep8/lib/python2.6/site-packages/pip/basecommand.py", line 232, in main
status = self.run(options, args)
File "/home/vagrant/Cloud/git/nimbus-dashboard/.tox/pep8/lib/python2.6/site-packages/pip/commands/install.py", line 339, in run
requirement_set.prepare_files(finder)
File "/home/vagrant/Cloud/git/nimbus-dashboard/.tox/pep8/lib/python2.6/site-packages/pip/req/req_set.py", line 333, in prepare_files
upgrade=self.upgrade,
File "/home/vagrant/Cloud/git/nimbus-dashboard/.tox/pep8/lib/python2.6/site-packages/pip/index.py", line 397, in find_requirement
'No distributions at all found for %s' % req
DistributionNotFound: No distributions at all found for Flask
And it works using :
|
It looks like there's something wrong with your CA certificates possibly. Do you have a file at See http://stackoverflow.com/questions/6824332/mercurial-ssh-certificate-issue |
I can reproduce this on py 2.6.5 , found while debugging a failure to get-pip.py on Appveyor It doesnt happen on py 2.6.6 for me. |
Should the docs be updated to say that py 2.6.5 is not supported? |
Use --no-clean option to workaround bug in pip. pypa/pip#2494 Fixes ogrisel#15
Use pip --user option to workaround issue during cleanup. pypa/pip#2494 Fixes ogrisel#15
I'm getting a very similar error under pypy: https://travis-ci.org/pre-commit/pre-commit/jobs/107623837 (In my case, the workaround was to install |
It seems it is failing on It looks more like a certificate/openssl installation issue than a pip issue... Cf https://github.com/kennethreitz/requests/issues/557 for possible solutions. |
My issue seems fixed by pypa/virtualenv#866 |
Great, and the documentation now states that we only support the latest patch version of our supported python versions so closing this. |
i try to install a package:
With option --trusted-host it works :
Any idea ?
I'm using pip 6.0.8 on Python 2.6
Thanks
The text was updated successfully, but these errors were encountered: