14

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!

drs
  • 5,679
  • 4
  • 42
  • 67
Pawelek
  • 437
  • 1
  • 5
  • 14
  • So no one knows? My workaround was to download and install ScientificPyton by hand. But it'd be really nice to figure out why pip fails in this case. – Pawelek Nov 16 '12 at 16:14
  • I solved this by setting https_proxy, http_proxy – Elaine Jul 14 '17 at 13:41

3 Answers3

12

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

kynan
  • 13,235
  • 6
  • 79
  • 81
1

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

errakeshpd
  • 2,544
  • 2
  • 28
  • 35
-2

The package name is actually scipy, not ScientificPython

Try:

pip install scipy
reptilicus
  • 10,290
  • 6
  • 55
  • 79
  • 1
    Thanks for the response reptilicus but `ScientificPython` and `scipy` are not the same. Compare: [ScientificPython](http://pypi.python.org/pypi/ScientificPython/2.6) and [scipy](http://pypi.python.org/pypi/scipy/0.10.1). `ScientificPython` has facilities for interacting with netCDF files. As far as I know `scipy` does not. – Pawelek Sep 27 '12 at 15:57
  • My apologies! If you need to use NetCDF files, pyTables which should be pip installable provides access to NetCDF / HDF5 files: http://www.pytables.org/docs/manual-1.4/ch07.html – reptilicus Sep 27 '12 at 20:20
  • 1
    Thank you for pointing me toward Tables.NetCDF. I wasn't aware of that and I can definitely make use of it. But, at the risk of being nitpicky, I still would like to understand why pip search sees a package but then pip install does not find any downloads. It's pip I'm trying to understand better in this case. – Pawelek Oct 01 '12 at 12:59