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

Fabricio Silva silva at crans.org
Mon Oct 26 09:02:19 UTC 2009


Le samedi 10 octobre 2009 à 11:47 +0200, Sandro Tosi a écrit :
> 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,

I'm really sorry for the (very) long delay.
I remember I've tried and that it worked. The problem is now gone since
this summer and I do not need the trick anymore. 
Some details : it was on a fresh install of a Debian unstable that the
entry '/usr/share/pyshared' appears to be in the python path, but I
don't know who is guilty for putting that!






More information about the Python-modules-team mailing list