Win7,64位下Python3.5.2,安装numpy、matplotlib、scipy(whl文件)
2016-12-14 18:32
811 查看
win7,64位下,Python中安装numpy、matplotlib和scipy。
1、安装whl文件前,先通过pip命令安装wheel:
cmd,进入到C:\Program Files\Python35\Scripts目录下,执行命令
pip install wheel
![](http://img.blog.csdn.net/20161214174259995)
链接:http://www.lfd.uci.edu/~gohlke/pythonlibs/
安装过程中需要的各种程序包都能在链接(非官方下载,比较全)里找到。
或到点击打开链接下载numpy、matplotlib和scipy的安装包whl文件。
2、安装numpy的whl文件:
在C:\Program Files\Python35\Scripts目录下,运行pip命令,文件名写全路径
pip install D:\FileTest\numpy-1.12.0b1-cp35-none-win_amd64.whl
![](http://img.blog.csdn.net/20161214180420631)
3、安装matplotlib的whl文件:
在C:\Program Files\Python35\Scripts目录下,运行pip命令,文件名写全路径
pip install D:\FileTest\matplotlib-2.0.0rc1-cp35-cp35m-win_amd64.whl
![](http://img.blog.csdn.net/20161214180737541)
![](http://img.blog.csdn.net/20161214180758385)
4、安装scipy的whl文件:
在C:\Program Files\Python35\Scripts目录下,运行pip命令,文件名写全路径
pip install D:\FileTest\scipy-0.18.1-cp35-cp35m-win_amd64.whl
![](http://img.blog.csdn.net/20161214180927856)
安装完成后,验证:
import matplotlib.pyplot as plt
plt.plot([1,2,3])
plt.title('Test')
plt.ylabel('some numbers')
plt.show()
上述代码保存到Test.py文件。
在Test.py文件所在目录中,运行命令 python Test.py
![](http://img.blog.csdn.net/20161214182423671)
结果如下:
1、安装whl文件前,先通过pip命令安装wheel:
cmd,进入到C:\Program Files\Python35\Scripts目录下,执行命令
pip install wheel
链接:http://www.lfd.uci.edu/~gohlke/pythonlibs/
安装过程中需要的各种程序包都能在链接(非官方下载,比较全)里找到。
或到点击打开链接下载numpy、matplotlib和scipy的安装包whl文件。
2、安装numpy的whl文件:
在C:\Program Files\Python35\Scripts目录下,运行pip命令,文件名写全路径
pip install D:\FileTest\numpy-1.12.0b1-cp35-none-win_amd64.whl
3、安装matplotlib的whl文件:
在C:\Program Files\Python35\Scripts目录下,运行pip命令,文件名写全路径
pip install D:\FileTest\matplotlib-2.0.0rc1-cp35-cp35m-win_amd64.whl
4、安装scipy的whl文件:
在C:\Program Files\Python35\Scripts目录下,运行pip命令,文件名写全路径
pip install D:\FileTest\scipy-0.18.1-cp35-cp35m-win_amd64.whl
安装完成后,验证:
import matplotlib.pyplot as plt
plt.plot([1,2,3])
plt.title('Test')
plt.ylabel('some numbers')
plt.show()
上述代码保存到Test.py文件。
在Test.py文件所在目录中,运行命令 python Test.py
结果如下:
相关文章推荐
- windows64位Python3.5.2基础上,安装numpy、matplotlib、scipy(whl文件)安装tensorflow及sklearn包
- 64位 win7,Python3.5.0下安装numpy,matplotlib,scipy
- Win7,64位,Python2.7.2安装matplotlib(whl文件)
- 64位win7下安装numpy,scipy,matplotlib
- 64位32位windows7安装python34和python27,numpy,scipy,matplotlib,scikit-learn等第三方模块
- windows64位环境下python安装numpy、scipy和matplotlib
- win7下安装Python,numpy,matplotlib,scipy,scikit-learn等机器视觉工具包
- win7 64位系统 python 2 安装 scipy, matplotlib
- Python包numpy、Matplotlib、SciPy在64位Windows上的安装
- 在64位win7上安装Python3.3.2及Numpy及matplotlib
- win7下caffe的编译(包括caffe_python接口配置)以及python27下numpy、matplotlib、scipy等的安装
- win7安装python3.5、numpy、scipy、matplotlib。
- 在win7下安装python开发环境和numpy,scipy,matplotlib模块的问题
- win7 安装openCV Python 与 Numpy,Scipy,Matplotlib,Scikit-Learn包
- Windows64位下各版本Python安装numpy,SciPy,matplotlib,Ipython模块
- Python,NumPy,SciPy,Matplotlib安装及问题解决(win7,x64,软件version3.4)
- 在windows下python,pip,numpy,scipy,matplotlib的安装 系统:win7(64bit)
- Win10 64位系统下Python 及 Numpy , matplotlib,scipy工具包的安装
- 64位win7安装Python3.5、Numpy和matplotlib的链接
- win7 64+python2.7.12安装numpy+scipy+matplotlib+scikit-learn