Install Scipy with MKL through PIP

后端 未结 7 1103
一向
一向 2020-12-30 23:46

I am using PIP to install Scipy with MKL to accelerate the performance. My OS is Ubuntu 64 bit. Using the solution from this question, I create a file .numpy-site.cfg

7条回答
  •  我在风中等你
    2020-12-31 00:15

    I have Win10 64Bit with Python 3.6.2 i have installed scipy through http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy

    I followed following steps :

    • Step 1: Uninstall if you have any previous version of numpy, pip uninstall numpy
    • Step 2 : Download numpy‑1.13.1+mkl‑cp36‑cp36m‑win_amd64.whl with MKL(Math Kernel Library) from below link, http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
    • Step 3: copy downloaded file into another location and launch command prompt from that location.
    • Step 4: run this command, pip install -U numpy-1.13.1+mkl-cp36-cp36m-win_amd64.whl
    • Step 5: Now Download scipy library from, http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy
    • Step 6: Copy downloaded file into same location in which numpy is copied.
    • Step 7: In CMD prompt run this cmd, pip install scipy-0.19.1-cp36-cp36m-win_amd64.whl

    Done!

提交回复
热议问题