No Distributions At All Found For Some Package
Solution 1:
Note that this error may also occure because you are using too old version of pip. Then it can be solved by:
pip install --upgrade pip
You can check your version by:
pip --version
Solution 2:
I got the solution ,Try with --allow-unverified
syntax: pip install packagename=version --allow-unverified packagename
Some package condains insecure and unverifiable files. it will not download to the system . and it can be solved by using this method --allow-unverified. it will allow the installation.
Eg: pip install django-ajax-filtered-fields==0.5 --allow-unverified django-ajax-filtered-fields
Solution 3:
Proxy Settings
Still unsure if my issue has the same cause as with the OP, but one error message was the same:
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement Django
No distributions atall found for Django
Talking to a colleague exposed it was a site-security-based issue. The following commands were required:
set https_proxy=*https proxy*
set http_proxy=*http proxy*
pip install Django
where *https proxy*
and *http proxy*
are appropriate URLs-with-ports for our site.
Downloading/unpacking Django
Installing collected packages: Django
Successfully installed Django
Cleaning up...
Solution 4:
The only solution worked for me:
- uninstall pip (pip uninstall pip)
- download pip package from pypi (https://pypi.org/project/pip/)
- execute python setup.py install (not using easy_install)
- then you can install any package you want.
Solution 5:
Inspecting the logs reveals the following line:
less .pip/pip.log
Could not fetch URL https://pypi.python.org/simple/WSGIUtils/: connection error: [Errno1] _ssl.c:493: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
In an earlier version of the comment I attributed this behaviour to https://pypi.python.org, but this is not the issue, since I can contact this site (from another computer!) with firefox and all certificates are OK. So this is probably a problem of some installations of pip---I encounter it unter SLES 11 which has (among other things) the "oldstable" openssl-0.9.8.
Post a Comment for "No Distributions At All Found For Some Package"