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

Sandro Tosi morph at debian.org
Sat Oct 10 09:47:06 UTC 2009


Hi all,

On Wed, Jul 8, 2009 at 10:42, Fabrice Silva <silva at crans.org> wrote:
> 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.

Fabrice, did you have the time to try it? Is the problem still there
on your machine or it's gone away? does the latest version or mpl
uploaded into unstable helps this be fixed?

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