Pawelek
Pawelek

Reputation: 455

python pip: no distributions at all found for an existing package

I am trying to install the ScientificPython package into a newly installed distribution of Python on a Fedora 14 x64 system. Pip finds ScientificPython in the repository but does not want to install it

[bin]$ sudo ./python2.7 ./pip search ScientificPython
ScientificPython          - Various Python modules for scientific computing

[bin]$ sudo ./python2.7 ./pip install ScientificPython
Downloading/unpacking ScientificPython
  Could not find any downloads that satisfy the requirement ScientificPython
No distributions at all found for ScientificPython
Storing complete log in /tmp/tmpDLdmjy

Why could this happen?

Thanks!

Upvotes: 14

Views: 24743

Answers (3)

errakeshpd
errakeshpd

Reputation: 2552

This may due to the unverified files in the installation package . try with the --allow-unverified

pip install package_name==version --allow-unverified package_name

example pip install django-ajax-filtered-fields==0.5 --allow-unverified django-ajax-filtered-fields

Upvotes: 1

kynan
kynan

Reputation: 13613

Have a look at the ScientificPython entry on pypi and you will find that it only contains a link to their project page, no downloadable package or egg (which pip would need to install from). That's why pip told you Could not find any downloads. You will have to install by hand following their instructions.

Bottom line: if pip search lists a given package that doesn't necessarily mean you can pip install it (in most cases you fortunately can).

Upvotes: 12

reptilicus
reptilicus

Reputation: 10397

The package name is actually scipy, not ScientificPython

Try:

pip install scipy

Upvotes: -2

Related Questions