[Python-modules-team] Bug#565432: closed by Sandro Tosi <morph at debian.org> (Re: Bug#565432: python-matplotlib: matplotlib.axes requires pytz package, provided by zope3 which is in conflict with other important packages)
wzabolot@elektron.elka.pw.edu.pl
W.Zabolotny at elka.pw.edu.pl
Fri Jan 15 21:36:31 UTC 2010
> Hello,
>
> On Fri, Jan 15, 2010 at 19:09, wzabolot at elektron.elka.pw.edu.pl
> <W.Zabolotny at elka.pw.edu.pl> wrote:
>
>>
>> Traceback (most recent call last):
>> File "<stdin>", line 1, in <module>
>> File "/usr/lib/pymodules/python2.5/matplotlib/axes.py", line 17, in
>> <module>
>> import matplotlib.dates as mdates
>> File "/usr/lib/pymodules/python2.5/matplotlib/dates.py", line 87, in
>> <module>
>> import pytz
>> ImportError: No module named pytz
>>
>> the pytz module is provided only by the zope3 package which is currently
>> in conflict with many important packages (e.g. with python-twisted):
>>
>
> ???
>
> $ python -c "import pytz as p ; print p.__file__"
> /usr/lib/python2.5/site-packages/pytz/__init__.pyc
> $ dpkg -S pytz/__init__.py
> python-tz: /usr/share/pyshared/pytz/__init__.py
>
>
>> zope3 depends on python-zopeinterface (= 3.3.1-7)
>> zope3 suggests zope3-dbg
>> python-zope.interface conflicts with zope3
>> zope3 depends on python-twisted-web2 (>= 0.2.0+svn20070403)
>>
>
> probably it's something else, maybe another submodule or such. What's
> needed by matplotlib is python-tz
>
>
>> ii python-tz 2009p-1 Python version of the Olson
>>
>
> that's installed on your machine, so it should be something broken on
> your machine; for sure it's not a bug in matplotlib, hence closing.
>
>
The problem is, that python-tz installs into /usr/share/pyshared
It seems that Python on my machine does not look for modules
in this directory.
I don't know if it is a problem specific to my machine, or common
for all up to date debian/testing systems...
--
Regards, Wojtek
More information about the Python-modules-team
mailing list