Le mercredi 08 juillet 2009 à 08:58 +0200, Thomas Viehmann a écrit : > 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.
You may be right: on another machine, the pyshared directory is not in sys.path. > 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. I will try tonight at home. Which are the mechanism that add items to sys.path ? Thanks for helping me on this! -- Fabrice Silva Laboratory of Mechanics and Acoustics - CNRS 31 chemin Joseph Aiguier, 13402 Marseille, France. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org