Forums

Help with Matplotlib instalation

Hi, I am trying to install Python's matplotlib, I have it downloaded and installed but when I try to import it using the IDLE ( import matplotlib.pyplot as plt )I get the following error message:

"""""""""" Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information.

================================ RESTART ================================

Traceback (most recent call last): File "Untitled", line 1 import matplotlib.pyplot as plt File "C:\Python27\Lib\site-packages\matplotlib__init__.py", line 116 raise ImportError("matplotlib requires dateutil") ImportError: matplotlib requires dateutil

""""" What's the error and how can this be fixed ? Thanks, Alejandro

Hi there,

we have matplotlib installed by default, so you should be able to just use it. the interactive/gui elements may not work though, but you can save charts as files and view them in your browser. More info here: https://www.pythonanywhere.com/wiki/MatplotLibGraphs