How do I install SciPy on 64 bit Windows?

前端 未结 16 1466
生来不讨喜
生来不讨喜 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 13:08

    I found this solution after days.

    Firstly, which Python version you want to install?

    If you want for Python 2.7 version:

    STEP 1:

    scipy‑0.19.0‑cp27‑cp27m‑win32.whl

    scipy‑0.19.0‑cp27‑cp27m‑win_amd64.whl

    numpy‑1.11.3+mkl‑cp27‑cp27m‑win32.whl

    numpy‑1.11.3+mkl‑cp27‑cp27m‑win_amd64.whl

    If you want for Python 3.4 version:

    scipy‑0.19.0‑cp34‑cp34m‑win32.whl

    scipy‑0.19.0‑cp34‑cp34m‑win_amd64.whl

    numpy‑1.11.3+mkl‑cp34‑cp34m‑win32.whl

    numpy‑1.11.3+mkl‑cp34‑cp34m‑win_amd64.whl

    If you want for Python 3.5 version:

    scipy‑0.19.0‑cp35‑cp35m‑win32.whl

    scipy‑0.19.0‑cp35‑cp35m‑win_amd64.whl

    numpy‑1.11.3+mkl‑cp35‑cp35m‑win32.whl

    numpy‑1.11.3+mkl‑cp35‑cp35m‑win_amd64.whl

    If you want for Python 3.6 version:

    scipy‑0.19.0‑cp36‑cp36m‑win32.whl

    scipy‑0.19.0‑cp36‑cp36m‑win_amd64.whl

    numpy‑1.11.3+mkl‑cp36‑cp36m‑win32.whl

    numpy‑1.11.3+mkl‑cp36‑cp36m‑win_amd64.whl

    Link: click

    Once finishing installation, go to your directory.

    For example, my directory:

    cd C:\Users\asus\AppData\Local\Programs\Python\Python35\Scripts>
    pip install [where/is/your/downloaded/scipy_whl.]
    

    STEP 2:

    NumPy + MKL

    From same web site based on the Python version again:

    After that use same thing again in the script folder:

    cd C:\Users\asus\AppData\Local\Programs\Python\Python35\Scripts>
    
    pip3 install [where/is/your/downloaded/numpy_whl.]
    

    And test it in the Python folder.

    Python35>python
    Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit (AMD64)] on win32
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import scipy
    

提交回复
热议问题