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