I am trying to install Numpy on Python 2.7 and I am using Windows 8.1. When I run Numpy from this link it says, "Python 2.7 required, which was not found in the registry ". How can resolve this issue, I already installed Python 2.7?
Asked
Active
Viewed 5,998 times
0
-
How did you install Python? The point is that it should be n the registry. Maybe it was installed specifically for a different user? – cdarke Mar 21 '15 at 07:24
-
@cdarke: i installed Python using this (method)[http://www.anthonydebarros.com/2014/02/16/setting-up-python-in-windows-8-1/] – Addee Mar 21 '15 at 07:48
5 Answers
2
For Windows, you should check out Chris Gohlke's page: http://www.lfd.uci.edu/~gohlke/pythonlibs
He has some Numpy builds there for Python 2.7.

Chris Drake
- 353
- 1
- 7
-
Yes I downloaded **numpy-1.9.2+mkl-cp27-none-win_amd64** , and opeded it using Winzip. What should i do after that to install? – Addee Mar 21 '15 at 07:46
-
I believe the file you downloaded is a "wheel" distribution. See [this page](https://pip.pypa.io/en/latest/user_guide.html#installing-from-wheels) for installing a wheel using pip. Make sure to read through the front-matter from Gohlke's page. It has this info, plus stuff about Visual Studio redistributable packages. – Chris Drake Mar 24 '15 at 19:17
1
You can first install wheel using pip.
pip install wheel
Then download the .whl file for Numpy from Chris Gohlke's page.
Then go to the directory where you downloaded the package.whl file in cmd and do the following
pip install package_you_downloaded.whl
I experienced a similar broken toolchain error while installing Numpy. You can check it here.
1
I changed to anaconda a while ago and in my mind its the best and most dynamic package manager for all platforms. http://docs.continuum.io/anaconda/install.html

PlagTag
- 6,107
- 6
- 36
- 48
0
You should use pip to install Numpy and any other librarys
check this for how to install pip
after installing, go to your command line and enter
pip install numpy
-
Yes I download get-pip.py, Then, run it from the command prompt. `python get-pip.py` after installing that, i wrote as suggested `pip install numpy`. but after that it gives me error: Unable to find vcvarsall.bat – Addee Mar 21 '15 at 07:43
-
That's because you don't have Microsoft visual C++ installed. Some parts of Python modules written in C/C++ ( to boost speed), so you need something to compile C/C++ code. Just download from: http://www.microsoft.com/en-us/download/details.aspx?id=44266 – Tung Mar 21 '15 at 10:05
-
I again reinstalled Python 2.7.9, and pip. but this time when i am running `pip install numpy` it gives me this (error) [https://www.dropbox.com/s/pzf3ahwpvl8lerd/Capture.PNG?dl=0] – Addee Mar 21 '15 at 10:50