Ich möchte einpaar Demos ausprobieren von Matplotlib.
Habe Python 2.7.8 mit Matplotlib für Python 2.7 und auch Numpy 1.8.1 für Python 2.7 installiert.
Habe das Demo von hier:
http://matplotlib.org/users/pyplot_tutorial.html
Es kommt diese Fehlermeldung im IDLE :
---------------------
Python 2.7.8 (default, Jun 30 2014, 16:03:49) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> ================================ RESTART ================================
>>>
Traceback (most recent call last):
File "C:\Users\Downloads\test.py", line 1, in <module>
import matplotlib.pyplot as plt
File "D:\Python27\lib\site-packages\matplotlib\__init__.py", line 111, in <module>
raise ImportError("matplotlib requires dateutil")
ImportError: matplotlib requires dateutil
>>>
---------------------------
Dies ist das Demo:
Code: Alles auswählen
import matplotlib.pyplot as plt
plt.plot([1,2,3,4])
plt.ylabel('some numbers')
plt.show()
Gruss