简体   繁体   中英

Install numpy on python3.5 (Win7)

I am a absolute newbie for python. I am quite frustrated by install new packages.

My computer is win 7 x86. The newest python3.5 is installed (the official one ).

The pip and ez_stall functions well already. I tried to install numpy by pip install numpy or ez_stall numpy , but both failed. The first error msg says I need Visual Studio installed, the second tell me it cannot find numpy .

So I go to download .zip file from SF . The newest support for python is 3.4 (I have 3.5); I downloaded numpy-1.9.2-win32-superpack-python3.4.exe anyway. It is not surprising that when I try to run the exe file, it complains that "Python 3.4 is required, which was not found in the registry. " Is there any work around?

There was a similar question asked, but the answers there did not answer my question.

There is an easier way to do this. If like you said you already have pip installed, then install scipy and you'll have numpy installed.

  #On unix like environments
  sudo pip install scipy

  #on windows like environments
  pip install scipy

Or you could just download from there site and compile. All steps for building are on that site

I had the same problem. I solved it my installing miniconda, and from that numpy.

http://conda.pydata.org/miniconda.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM