ImportError: matplotlib requires dateutil

Posted on

Question :

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 have also installed numpy following this link: 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 "", line 110, in <module>
    raise ImportError("matplotlib requires dateutil")
ImportError: matplotlib requires dateutil

How can I make it work?

I installed from

Answer #1:

Here’s a list of the programs you can install on windows:

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

Answered By: takrliu

Answer #2:

You’re probably looking for:

pip install python-dateutil
Answered By: David Wolever

Leave a Reply

Your email address will not be published. Required fields are marked *