Hi Fabrice,

thanks for sending the additional info.

In Fabrice's sys.path output:
...
        /usr/share/pyshared
          ^^^^^^^^^^^^^^^^^^^
...

This seems to be the problem. While the matplotlib/__init__.py lives in that dir, it should be loaded via the symlink in /usr/lib/pymodules/python2.5. Then it finds the _path module in the neighboring symlink.

Could you manually remove it and try again?

import sys
sys.path.remove('/usr/share/pyshared')
import matplotlib.transforms

should do the trick.

If that works, one would need to figure out where the pyshared entry in sys.path comes from.

Kind regards

T.


For reference: My sys.path is

/usr/lib/python2.5
/usr/lib/python2.5/plat-linux2
/usr/lib/python2.5/lib-tk
/usr/lib/python2.5/lib-dynload
/usr/local/lib/python2.5/site-packages
/usr/lib/python2.5/site-packages
/usr/lib/python2.5/site-packages/Numeric
/usr/lib/python2.5/site-packages/PIL
/usr/lib/pymodules/python2.5
/usr/lib/pymodules/python2.5/gtk-2.0
/usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode
--
Thomas Viehmann, http://thomas.viehmann.net/



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to