python2.7 配置numpy Matplotlib 及其依赖项
来源:互联网 发布:软件开发工程师考试 编辑:程序博客网 时间:2024/05/18 17:57
折腾半天,最终还是安装好了,没有去官方的地址下载,也没有通过pip进行命令行自动下载安装。
首先去CSDN搜索python2.7的相关资源,链接找不到了,大家自己在下面这个链接中搜寻自己合适的版本:
http://download.csdn.net/search?q=Matplotlib%20for%20Python%202.7%E5%8F%8A%E5%85%B6%E4%BE%9D%E8%B5%96%EF%BC%88%E5%90%AB%E5%AE%89%E8%A3%85%E5%8C%85%E5%8F%8A%E8%AF%B4%E6%98%8E%EF%BC%89
按照顺序安装相应的依赖包,
1. 安装前需要下载six(比如:six-1.7.3-py2.py3-none-any)、dateutil(比如python-dateutil-2.2)、pyparsing(pyparsing-2.0.2),其中six似乎没有32bit和64bit之分,numpy、dateutil、pyparsing和matplotlib均有位数区分
2. 直接安装numpy,注意位数
3. 将附件中的six-1.7.3-py2.py3-none-any解压,将其中的six.py文件拷贝到python安装文件夹的Lib\site-packages目录下
4. 安装dateutil,注意位数区分
5. 安装pyparsing,注意位数区分
6. 安装matplotlib,注意位数区分
一路点击next,安装包会自动安装到python的安装路径下。
最后测试程序:
import matplotlib.pyplot as plt plt.plot([10, 20, 30]) plt.xlabel('tiems') plt.ylabel('numbers') plt.show()
参考链接
http://blog.csdn.net/walkandthink/article/details/45200597
http://www.cnblogs.com/1394htw/p/5225644.html
http://blog.csdn.net/u010156024/article/details/50056855
- python2.7 配置numpy Matplotlib 及其依赖项
- python2.7配置matplotlib
- python2.7的Numpy和Matplotlib即依赖库dateutil和pyparsing的安装
- Ubuntu-Python2.7安装 scipy,numpy,matplotlib
- Ubuntu-Python2.7安装 scipy,numpy,matplotlib
- Ubuntu-Python2.7安装 scipy,numpy,matplotlib
- Ubuntu-Python2.7安装 scipy,numpy,matplotlib
- Ubuntu-Python2.7安装 scipy,numpy,matplotlib
- Ubuntu-Python2.7安装 scipy,numpy,matplotlib
- python2.7 pip 安装Numpy matplotlib
- Ubuntu-Python2.7安装 scipy,numpy,matplotlib
- python2.7 + numpy-1.6.1 + matplotlib-1.1.0
- Ubuntu-Python2.7下安装 scipy,numpy,matplotlib,nose
- ubuntu14.04 server python2.7 安装 numpy scipy matplotlib
- WIN10 64bit python2.7 安装 numpy scipy matplotlib
- windows下python2.7版本numpy,Scipy,matplotlib安装
- Windows7-64位python2.7、NumPy以及matplotlib的安装
- Python2.7安装Numpy+Scipy+Matplotlib+Scikit-Learn
- 在centos6.5下安装NS-2中tk.tcl问题的解决
- 2017年目标
- [C#]Http请求报头设置
- 二维码下载判断
- SVN更新失败,提示locked 怎么破!
- python2.7 配置numpy Matplotlib 及其依赖项
- Echarts使用心得总结(二)
- Jquery操作复选框(CheckBox)的取值赋值实现代码
- elastalert (support_es5分支) + elasticsearch 5.1 最简单的寻找关键字报警
- oracle下scott用户的四张表(emp,dept,bonus,salgrade)的建表语句:
- mysql插入数据后返回自增ID的方法
- 【ife】任务三十二:表单(四)实现表单自动生成工厂
- Gradle for Android系列之五 多渠道打包
- S/4 HANA – 是ERP皇帝的新装,还是SAP王国的新基石