[Python-modules-team] Bug#535855: matplotlib._path

Thomas Viehmann tv at beamnet.de
Wed Jul 8 06:58:09 UTC 2009

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


For reference: My sys.path is

Thomas Viehmann, http://thomas.viehmann.net/

More information about the Python-modules-team mailing list