Your message dated Sat, 7 Dec 2013 21:08:22 +0100
with message-id <[email protected]>
and subject line Re: [Python-modules-team] Bug#731572: Turned out to be problem
with my environment, please close this report as invalid
has caused the Debian Bug report #731572,
regarding python3-matplotlib: When I import matplotlib.pyplot I get errors
(perhaps python3-dateutil version in sid is too old)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
731572: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731572
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
On 2013-12-06 22:41:11, L. Rahyen wrote:
> After submitting this bug report I noticed that somehow python2.6 dateutil
> was used - this happened because I had
> PYTHONPATH=/usr/lib/python2.6/dist-packages/ environment variable (I think I
> created it very long time ago for some reason; not sure how I managed not to
> notice this before reporting). After I removed wrong PYTHONPATH everything
> works as expected. Sorry for the noise, will be more careful next time.
> Please close this report as invalid.
Closing this one.
Regards
--
Sebastian Ramacher
signature.asc
Description: Digital signature
--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team