我已经在x64 Windows7上成功安装了matplotlib和Python2.6。当我尝试导入matplotlib时,它显示以下错误。我还通过这个链接安装了numpy:Installing Numpy on 64bit Windows 7 with Python 2.7.3
import matplotlib.pyplot as plt
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
import matplotlib.pyplot as plt
File "C:\Python26\Lib\site-packages\matplotlib\__init__.py", line 110, in <module>
raise ImportError("matplotlib requires dateutil")
ImportError: matplotlib requires dateutil
我怎么才能让它工作呢?
我从http://matplotlib.org/downloads.html安装了matplotlib-1.3.0.win-amd64-py2.6.exe
发布于 2013-08-17 03:31:39
下面是你可以在windows上安装的程序列表:
http://www.lfd.uci.edu/~gohlke/pythonlibs/
您需要以下依赖项: Requires numpy、dateutil、pytz、pyparsing、six
发布于 2014-09-11 00:16:42
你可能正在寻找:
pip install python-dateutil
https://stackoverflow.com/questions/18280436
复制相似问题