ImportError: matplotlib requires dateutil

I have successfully installed matplotlib with python 2.6 on x64 Windows7. When I try to import matplotlib, it shows the following error. I also installed numpy following this link: Installing Numpy on 64-bit 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 

How can I make it work?

I installed matplotlib-1.3.0.win-amd64-py2.6.exe from http://matplotlib.org/downloads.html

+52
python matplotlib python-dateutil
Aug 16 '13 at 19:07 on
source share
2 answers

Here is a list of programs that you can install on windows:

http://www.lfd.uci.edu/~gohlke/pythonlibs/

And you will need the following dependencies: Requires numpy, dateutil, pytz, pyparsing, six

+67
Aug 16 '13 at 19:31
source share

You are probably looking for:

 pip install python-dateutil 
+52
Sep 10 '14 at 16:16
source share



All Articles