ImportError:matplotlib需要dateutil
我已经在x64 Windows7上使用python2.6成功安装了matplotlib。当我尝试导入matplotlib时,它显示以下错误。我还通过以下链接安装了numpy:使用Python2.7.3在64位Windows
7上安装Numpy
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
-
以下是可以在Windows上安装的程序的列表:
http://www.lfd.uci.edu/~gohlke/pythonlibs/
并且您将需要以下依赖项:需要numpy,dateutil,pytz,pyparsing,六个