Installing NumPy and SciPy on 64-bit Windows (with Pip)

后端 未结 14 1896
傲寒
傲寒 2020-11-27 04:27

I found out that it\'s impossible to install NumPy/SciPy via installers on Windows 64-bit, that\'s only possible on 32-bit. Because I need more memory than a 32-bit installa

14条回答
  •  死守一世寂寞
    2020-11-27 04:55

    Installing with pip

    You can install the numpy and scipy wheels on Windows with pip in one step if you use the appropriate link from Gohlke's Unofficial Windows Binaries (mentioned by sebix) and run the Windows command prompt as Administrator. For example, in Python 3.5, you would simply use something like this:

    # numpy-1.9.3+mkl for Python 3.5 on Win AMD64
    pip3.5 install http://www.lfd.uci.edu/~gohlke/pythonlibs/xmshzit7/numpy-1.9.3+mkl-cp35-none-win_amd64.whl
    
    # scipy-0.16.1 for Python 3.5 on Win AMD64
    pip3.5 install http://www.lfd.uci.edu/~gohlke/pythonlibs/xmshzit7/scipy-0.16.1-cp35-none-win_amd64.whl
    

提交回复
热议问题