Guten Tag,
für meine Thesis habe ich mich etwas eingearbeitet um mit Python 2.7 und der Matplotlib meine Diagramme zu erstellen, hat auch alles wunderbar funktioniert, zu Beginn auf der Arbeit am Windows PC und beim Schreiben der Thesis zu Hause mit Ubuntu 12.04.3.
Vor ein paar Tagen hatte ich versucht eine neueres matplotlib via source zu installieren, aber scheinbar ist da was schief gelaufen. http://matplotlib.org/faq/installing_faq.html#install-from-git
Jemand eine Idee wie ich das richtig installieren kann oder wieder löschen um matplotlib 1.1 von den Ubuntuquellen zu nutzen?
hier die Ausgabe für ein Beispiel von http://matplotlib.org/examples/animation/basic_example.html
1 2 3 4 5 6 7 8 9 10 11 12 13 | $ python basic_example.py Traceback (most recent call last): File "basic_example.py", line 18, in <module> interval=50, blit=True) File "/usr/local/lib/python2.7/dist-packages/matplotlib-1.4.x-py2.7-linux-x86_64.egg/matplotlib/animation.py", line 1017, in __init__ TimedAnimation.__init__(self, fig, **kwargs) File "/usr/local/lib/python2.7/dist-packages/matplotlib-1.4.x-py2.7-linux-x86_64.egg/matplotlib/animation.py", line 871, in __init__ *args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/matplotlib-1.4.x-py2.7-linux-x86_64.egg/matplotlib/animation.py", line 551, in __init__ self._init_draw() File "/usr/local/lib/python2.7/dist-packages/matplotlib-1.4.x-py2.7-linux-x86_64.egg/matplotlib/animation.py", line 1042, in _init_draw self._draw_frame(next(self.new_frame_seq())) TypeError: xrange object is not an iterator |