I want to install numpy using pip install numpy
command but i get follwing error:
RuntimeError: Broken toolchain: cannot link a simple C program
Frustratingly the Numpy package published to PyPI won't install on most Windows computers https://github.com/numpy/numpy/issues/5479
Instead:
pip install numpy-1.10.2+mkl-cp35-none-win_amd64.whl
Check installation of python 2.7 than install/reinstall pip which described here than open command line and write
pip install numpy
or
pip install scipy
if already installed try this
pip install -U numpy
I had the same problem. I decided in a very unexpected way. Just opened the command line as an administrator. And then typed:
pip install numpy
py -m pip install numpy
Worked for me!
As of March 2016, pip install numpy
works on Windows without a Fortran compiler. See here.
pip install scipy
still tries to use a compiler.
July 2018: mojoken reports pip install scipy
working on Windows without a Fortran compiler.
Installing extension modules can be an issue with pip. This is why conda exists. conda is an open-source BSD-licensed cross-platform package manager. It can easily install NumPy.
Two options:
conda install numpy
(make sure your PATH includes the location conda was installed to).