[Python-modules-team] Bug#731572: python3-matplotlib: When I import matplotlib.pyplot I get errors (perhaps python3-dateutil version in sid is too old)
L. Rahyen
mail2 at science.su
Fri Dec 6 21:33:01 UTC 2013
Package: python3-matplotlib
Version: 1.3.1-1
Severity: important
Dear Maintainer, I cannot import matplotlib.pyplot in python3. I think
that the reason for import errors is that python3-dateutil (2.0+dfsg1-1) is too
old, according to http://matplotlib.1069221.n5.nabble.com/python3-and-matplotlib-installation-problem-td3704.html
python3-matplotlib requieres at least python3-dateutil 2.1.
* What led up to the situation?
I installed python3-matplotlib (1.3.1-1). This also automatically installed
python3-dateutil (2.0+dfsg1-1).
* What exactly did you do (or not do) that was effective (or
ineffective)?
To reproduce the problem run python3 and then "import matplotlib.pyplot".
* What was the outcome of this action?
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/matplotlib/pyplot.py", line 29, in
<module>
from matplotlib.figure import Figure, figaspect
File "/usr/lib/python3/dist-packages/matplotlib/figure.py", line 36, in
<module>
from matplotlib.axes import Axes, SubplotBase, subplot_class_factory
File "/usr/lib/python3/dist-packages/matplotlib/axes.py", line 22, in
<module>
import matplotlib.dates as _ # <-registers a date unit converter
File "/usr/lib/python3/dist-packages/matplotlib/dates.py", line 119, in
<module>
from dateutil.rrule import (rrule, MO, TU, WE, TH, FR, SA, SU, YEARLY,
File "/usr/lib/python2.6/dist-packages/dateutil/rrule.py", line 55
raise ValueError, "Can't create weekday with n == 0"
^
SyntaxError: invalid syntax
* What outcome did you expect instead?
No errors.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.11-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python3-matplotlib depends on:
ii libc6 2.17-96
ii libfreetype6 2.4.9-1.1
ii libgcc1 1:4.8.2-5
ii libpng12-0 1.2.49-5
ii libstdc++6 4.8.2-5
ii python-matplotlib-data 1.3.1-1
ii python3 3.3.2-17
ii python3-dateutil 2.0+dfsg1-1
ii python3-nose 1.3.0-2.1
ii python3-numpy [python3-numpy-abi9] 1:1.7.1-3
ii python3-pyparsing 2.0.1+dfsg1-1
ii python3-six 1.4.1-1
ii python3-tornado 3.1.1-1
ii python3-tz 2012c-1
pn python3:any <none>
ii tcl8.5 8.5.14-2
ii tk8.5 8.5.14-2
Versions of packages python3-matplotlib recommends:
pn python3-imaging <none>
ii python3-tk 3.3.3-1
Versions of packages python3-matplotlib suggests:
ii dvipng 1.14-2
ii ghostscript 9.05~dfsg-8
ii gir1.2-gtk-3.0 3.8.6-1
ii inkscape 0.48.4-2
pn ipython3 <none>
ii librsvg2-common 2.40.0-1
pn python-matplotlib-doc <none>
pn python3-cairo <none>
ii python3-gi [python3-gobject] 3.10.1-1
pn python3-pyqt4 <none>
pn python3-scipy <none>
pn python3-sip <none>
ii texlive-extra-utils 2013.20131112-1
ii texlive-latex-extra 2013.20131112-1
ii ttf-staypuft 0.04-6
More information about the Python-modules-team
mailing list