我已经在x64位Windows 7上成功安装了python 2.6版本的matplotlib。当我尝试导入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。
dateutil
。您使用的mpl
版本是什么?最近mpl
处理外部依赖项的方式发生了变化(是将它们打包还是安装它们)。请详细说明您如何安装mpl
。 - tacaswell