Pip fails to install SciPy

Viewed 8803

I have been trying to install SciPy through pip with pip install scipy but it gives me the error Failed building wheel for scipy, promptly followed by Failed cleaning build dir for scipy.

I have tried upgrading pip through pip install --upgrade pip as suggested here, installing it through anaconda as suggested here as well as the solutions suggested by pip. Those solutions being:

- `git clean -xdf` (cleans all files)
- `git clean -Xdf` (cleans all versioned files, doesn't touch
                    files that aren't checked into the git repo)

And:

- `pip install .`       (from a git repo or downloaded source
                           release)
- `pip install scipy`   (last SciPy release on PyPI)

When I try to upgrade pip it gives:

Requirement already up-to-date: pip in c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages

When I try to install it through anaconda Windows gives: The program has stopped responding.

All help is appreciated and please feel free to leave a comment telling me is there is more information needed to help solve this issue. I am using Windows 10 as well as Python 3.6.2.

4 Answers

I struggled as well trying to create a backwards compatible environment for some older tutorial scripts. I needed Scipy==0.18.2. So I searched on Anaconda and found:
conda install -c esri scipy
This worked without a hitch.

Related