[Python-modules-team] Bug#565432: 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)

Sandro Tosi morph at debian.org
Fri Jan 15 22:05:10 UTC 2010


On Fri, Jan 15, 2010 at 22:36, wzabolot at elektron.elka.pw.edu.pl
<W.Zabolotny at elka.pw.edu.pl> wrote:
> The problem is, that python-tz installs into /usr/share/pyshared

that's perfectly fine:

$ dpkg -L python-tz | grep pyshared
/usr/share/pyshared
/usr/share/pyshared/pytz
/usr/share/pyshared/pytz/tzfile.py
/usr/share/pyshared/pytz/tzinfo.py
/usr/share/pyshared/pytz/__init__.py
/usr/share/pyshared/pytz/reference.py
/usr/share/pyshared/pytz-2009p.egg-info
/usr/share/pyshared-data
/usr/share/pyshared-data/python-tz

$ ls -lR /usr/lib/python2.5/site-packages/pytz/
/usr/lib/python2.5/site-packages/pytz/:
total 60
lrwxrwxrwx 1 root root    36 Nov 19 19:37 __init__.py ->
/usr/share/pyshared/pytz/__init__.py
-rw-r--r-- 1 root root 30836 Nov 19 19:37 __init__.pyc
lrwxrwxrwx 1 root root    37 Nov 19 19:37 reference.py ->
/usr/share/pyshared/pytz/reference.py
-rw-r--r-- 1 root root  4927 Nov 19 19:37 reference.pyc
lrwxrwxrwx 1 root root    34 Nov 19 19:37 tzfile.py ->
/usr/share/pyshared/pytz/tzfile.py
-rw-r--r-- 1 root root  3277 Nov 19 19:37 tzfile.pyc
lrwxrwxrwx 1 root root    34 Nov 19 19:37 tzinfo.py ->
/usr/share/pyshared/pytz/tzinfo.py
-rw-r--r-- 1 root root 13916 Nov 19 19:37 tzinfo.pyc


> 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...

your system. try to reinstall python-tz, maybe also removing+purging
it before reinstall.

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi





More information about the Python-modules-team mailing list