Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

python

pip

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!

like image 616
Pawelek Avatar asked Sep 26 '12 17:09

Pawelek


People also ask

How do I install an older version of a python package?

To install a specific version of a Python package you can use pip: pip install YourPackage==YourVersion . For example, if you want to install an older version of Pandas you can do as follows: pip install pandas==1.1.

How do you fix there was an error checking the latest version of pip?

Solve the Warning: There was an error checking the latest version of pip error. The best way to solve this error is to install or update the pip module to the latest version. Before installing the pip module make sure that all the dependencies for this module should be installed.


1 Answers

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).

like image 172
kynan Avatar answered Oct 14 '22 14:10

kynan