Can't install numpy 1.8 with python 2.7 under windows 7

后端 未结 2 992
难免孤独
难免孤独 2021-01-22 04:14

I have donwloaded numpy 1.8 zip version and I have python 2.7 and windows 7. When I do

python setup.py install

I get:

Q:\\Users         


        
相关标签:
2条回答
  • 2021-01-22 04:42

    Compiling from source is somewhat tedious on Windows. I suggest you use precompiled installers, such as the ones from http://www.lfd.uci.edu/~gohlke/pythonlibs/. Alternatively, you can install PIP, a python package installer (available from the same site, for instance). With PIP, package installation is simple:

    pip install numpy
    
    0 讨论(0)
  • 2021-01-22 04:44

    Had the same problem,

    solved by installing MS Visual C++ Compiler for Python 2.7:

    From here

    0 讨论(0)
提交回复
热议问题