How do I install SciPy on 64 bit Windows?

前端 未结 16 1447
生来不讨喜
生来不讨喜 2020-11-27 12:07

How do I install SciPy on my system?

For the NumPy part (that SciPy depends on) there is actually an installer for 64 bit Windows: numpy-1.3.0.win-amd64-py2.6.msi (i

16条回答
  •  执笔经年
    2020-11-27 12:49

    Unofficial 64-bit installers for NumPy and SciPy are available at http://www.lfd.uci.edu/~gohlke/pythonlibs/

    Make sure that you download & install the packages (aka. wheels) that match your CPython version and bitness (ie. cp35 = Python v3.5; win_amd64 = x86_64).

    You'll want to install NumPy first; From a CMD prompt with administrator privileges for a system-wide (aka. Program Files) install:

    C:\>pip install numpy‑+mkl‑cp‑cpm‑.whl
    

    Or include the --user flag to install to the current user's application folder (Typically %APPDATA%\Python on Windows) from a non-admin CMD prompt:

    C:\>pip install --user numpy‑+mkl‑cp‑cpm‑.whl
    

    Then do the same for SciPy:

    C:\>pip install [--user] scipy‑‑cp‑cpm‑.whl
    

    Don't forget to replace , , and appropriately if you copy & paste any of these examples. And also that you must use the numpy & scipy packages from the ifd.uci.edu link above (or else you will get errors if you try to mix & match incompatible packages -- uninstall any conflicting packages first [ie. pip list]).

提交回复
热议问题