Python教程:windows下matplotlib安装错误(ImportError: matplotlib requires dateutil)
2016-12-01 00:51
363 查看
引用matplotlib包的时候出现一个问题,百度一下才知道问题再哪里,我们先来看看问题是什么。错误提示为:ImportError: matplotlib requiresdateutil
我使用二进制安装文件来安装这个包,安装过程没有出现任何问题
在我使用【import matplotlib】引入该模块的时候,出现了这个错误:
File "D:\Python27\lib\site-packages\matplotlib\__init__.py", line 111, in <module>
raise ImportError("matplotlib requires dateutil")
ImportError: matplotlib requires dateutil
其实就是引入matplotlib模块需要用到dateutil模块。假如你没有安装setuptools,我们可以看这篇文章进行安装:http://blog.csdn.net/u011630575/article/details/53415995
打开cmd窗口
输入这个,找不到这个模块
我们得用:easy_install python-dateutil(easy_install.exe python-dateutil)
安装好了以后,我们就可以正确引用matplotlib
我使用二进制安装文件来安装这个包,安装过程没有出现任何问题
在我使用【import matplotlib】引入该模块的时候,出现了这个错误:
File "D:\Python27\lib\site-packages\matplotlib\__init__.py", line 111, in <module>
raise ImportError("matplotlib requires dateutil")
ImportError: matplotlib requires dateutil
其实就是引入matplotlib模块需要用到dateutil模块。假如你没有安装setuptools,我们可以看这篇文章进行安装:http://blog.csdn.net/u011630575/article/details/53415995
打开cmd窗口
输入这个,找不到这个模块
我们得用:easy_install python-dateutil(easy_install.exe python-dateutil)
安装好了以后,我们就可以正确引用matplotlib
相关文章推荐
- ImportError: matplotlib requires dateutil
- ImportError: No module named matplotlib.pyplot安装模块python
- OpenCV 4 Python高级配置—安装setuptools,matplotlib,six,dateutil,pyparsing 完整过程
- Python 安装matplotlib,six,dateutil,pyparsing 完整过程
- windows环境下python2.7、pycharm、numpy_mkl、scipy、sklearn、Matplotlib、jupyter完整安装教程
- Python Matplotlib的安装使用及Scipy,numpy,dateutil,pyparsing的安装
- python 常用库收集 pyparse,matplotlib,dateutil
- windows环境下python2.7、pycharm、numpy_mkl、scipy、sklearn、Matplotlib、jupyter完整安装教程
- Python安装包括Numpy、matplotlib、dateutil、pyparsing、scipy
- ImportError: No module named matplotlib.pyplot安装模块python
- Python matplotlib安装及所需要的 numpy dateutil pyparsing six的下载地址
- Python 安装matplotlib,six,dateutil,pyparsing 完整过程
- Python 安装matplotlib,six,dateutil,pyparsing 完整过程
- Python 安装matplotlib,six,dateutil,pyparsing 完整过程
- python matplotlib相关 dateutil
- python2.7的Numpy和Matplotlib即依赖库dateutil和pyparsing的安装
- 【Linux基础】Linux/Windows下安装python、Numpy、Matplotlib
- 解决在jupyter notebook中遇到的ImportError: matplotlib is required for plotting问题
- python import matplotlib.pyplot 提示找不到DLL
- 【python】matplotlib在windows下安装