Networkx - matplotlib - dateutil
Verfasst: Mittwoch 23. Juni 2010, 17:27
Hallo Zusammen,
ich habe ein Problem mit matplotlib.
Mein System: MacBook Air, Mac OS X 10.6.4, python 2.6.5, networkx 1.1, matplotlib 99.3
Wenn ich versuche mit einen graphen zu plotten bekomme ich diese Fehlermeldung:
Vielen Dank für eure Hilfe.
Martin
ich habe ein Problem mit matplotlib.
Mein System: MacBook Air, Mac OS X 10.6.4, python 2.6.5, networkx 1.1, matplotlib 99.3
Wenn ich versuche mit
Code: Alles auswählen
import networkx as nx
import matplotlib.pyplot as plt
.
.
. #some code
plt.draw(g)
meine Versuche dateutil zu installieren schlugen alle fehl.ImportError: No module named dateutil.rrule
module body in pyplot.py at line 6
from matplotlib.figure import Figure, figaspect
module body in figure.py at line 18
from axes import Axes, SubplotBase, subplot_class_factory
module body in axes.py at line 17
import matplotlib.dates as mdates
module body in dates.py at line 112
from dateutil.rrule import rrule, MO, TU, WE, TH, FR, SA, SU, YEARLY, \
dabei funktioniert aber das setuptool bei allen anderen modulen ohne probleme. Ich habe sowohl die 1.4.1 als auch 1.5 von dateutil versucht. Über porticus kann ich dateutil installieren. Aber auch hier bekomme ich bei import dateutil einTraceback (most recent call last):
File "setup.py", line 7, in <module>
from setuptools import setup
ImportError: No module named setuptools
Hat vielleicht jemand eine Idee?Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named dateutil
Vielen Dank für eure Hilfe.
Martin