Hi,

just installed matplotlib by doing

git clone https://github.com/matplotlib/matplotlib
cd matplotlib
python3 setup.py build
sudo python3 setup.py install

When I import matplotlib.pyplot I get the following error message.

Any help is wellcome
Elmar



Python 3.2.1 (default, Jul 18 2011, 16:24:40) [GCC] on linux2
Type "copyright", "credits" or "license()" for more information.
 >>> import numpy
 >>> import matplotlib
 >>> numpy.__version__
'1.6.2'
 >>> matplotlib.__version__
'1.2.x'
 >>> import matplotlib.pyplot
Traceback (most recent call last):
   File "<pyshell#4>", line 1, in <module>
     import matplotlib.pyplot
   File "/usr/local/lib/python3.2/site-packages/matplotlib/pyplot.py", 
line 26, in <module>
     from matplotlib.figure import Figure, figaspect
   File "/usr/local/lib/python3.2/site-packages/matplotlib/figure.py", 
line 19, in <module>
     from .axes import Axes, SubplotBase, subplot_class_factory
   File "/usr/local/lib/python3.2/site-packages/matplotlib/axes.py", 
line 21, in <module>
     import matplotlib.dates as mdates
   File "/usr/local/lib/python3.2/site-packages/matplotlib/dates.py", 
line 122, in <module>
     from dateutil.rrule import rrule, MO, TU, WE, TH, FR, SA, SU, YEARLY, \
   File "/usr/local/lib/python3.2/site-packages/dateutil/rrule.py", line 55
     raise ValueError, "Can't create weekday with n == 0"
                     ^
SyntaxError: invalid syntax
 >>>


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to