error when installing some package but its actualy existing example django-ajax-filtered-fields==0.5
Downloading/unpacking django-ajax-filtered-fields==0.5 (from -r requirements.example.pip (line 13)) Could not find any downloads that satisfy the requirement django-ajax-filtered-fields==0.5(from -r requirements.example.pip (line 13)) No distributions at all found for django-ajax-filtered-fields==0.5 Storing debug log for failure in /home/pd/.pip/pip.log (peecs)pd@admin:~/proj/django/peecs$ pip install django-ajax-filtered-fields==0.5 --allow-unverified django-ajax-filtered-fields==0.5 Downloading/unpacking django-ajax-filtered-fields==0.5 Could not find any downloads that satisfy the requirement django-ajax-filtered-fields==0.5 Some externally hosted files were ignored (use --allow-external django-ajax-filtered-fields to allow). Cleaning up... No distributions at all found for django-ajax-filtered-fields==0.5 Storing debug log for failure in /home/pd/.pip/pip.log
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
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
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 at all 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...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With