python安装numpy和scipy

1.在www.lfd.uci.edu/%7Egohlke/pythonlibs/上找到相应的whl文件

python安装numpy和scipy


python安装numpy和scipy


2.将下载完成的文件剪切到python27/Scripts下(或者Python36\Scripts)

3.编写脚本1.bat :pip install numpy-1.13.1+mkl-cp36-cp36m-win_amd64.whl
       pause

                 2.bat:pip install scipy-0.19.1-cp36-cp36m-win_amd64.whl
     pause

4.依次双击运行


linux 下安装numpy及其相关

sudo apt-get install python-numpy

sudo apt-get install python-scipy

sudo apt-get install python-matplotlib

sudo apt-get install Ipython