Installing Scipy with Pip

Installing SciPy with pip

An attempt to easy_install indicates a problem with their listing in the Python Package Index, which pip searches.

easy_install scipy
Searching for scipy
Reading http://pypi.python.org/simple/scipy/
Reading http://www.scipy.org
Reading http://sourceforge.net/project/showfiles.php?group_id=27747&package_id=19531
Reading http://new.scipy.org/Wiki/Download

All is not lost, however; pip can install from Subversion (SVN), Git, Mercurial, and Bazaar repositories. SciPy uses SVN:

pip install svn+http://svn.scipy.org/svn/scipy/trunk/#egg=scipy

Update (12-2012):

pip install git+https://github.com/scipy/scipy.git

Since NumPy is a dependency, it should be installed as well.

Can't install Scipy through pip

After opening up an issue with the SciPy team, we found that you need to upgrade pip with:

pip install --upgrade pip

And in Python 3 this works:

python3 -m pip install --upgrade pip

for SciPy to install properly. Why? Because:

Older versions of pip have to be told to use wheels, IIRC with --use-wheel. Or you can upgrade pip itself, then it should pick up the wheels.

Upgrading pip solves the issue, but you might be able to just use the --use-wheel flag as well.

Pip fails to install SciPy

Thanks to jpmc26 in the comments for the solution:

  • You need to install the unofficial binary from: http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy

  • To install it, execute: pip install C://Users/YOUR_USERNAME/Downloads/SCIPY_FILE

  • Make sure you use the correct version for your system (32 bit vs 64 bit) and for your Python version

  • You also need to look into site-packages and see if there's garbage there. If there is, delete it.

Error installing scipy in Python 3.10 on Windows10

In scipy's PyPI page, it looks like scipy doesn't support 3.10 as the meta says

Requires: Python >=3.7, <3.10

I also looked at their GitHub and it doesn't seem there is scipy for python 3.10

Can't install Scipy with pip

Have you tried to install it from the wheel package? You can find the packages here:

http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy

Installation (for example):

pip install scipy‑0.19.0‑cp27‑cp27m‑win32.whl

According to the error stack, you might need the python 3.6 version (cp36). Don't forget you need to install numpy as well.

Cant install scipy through pip

Looks like you're getting a timeout error. This answer may help.

For future posts, please read the stack overflow posting guidlines. For example, it's generally preferred to copy and paste the error rather than posting a screen shot so people can search through it more easily.



Related Topics



Leave a reply



Submit