On Mon, Oct 15, 2012 at 2:11 PM, Damon McDougall
<damon.mcdoug...@gmail.com>wrote:
> I tried a `python setupegg.py develop` to diagnose a bug for someone.
> Now my mpl git repo has magically appeared at the front of my
> sys.path. Since I cleaned out the lib/matplotlib directory, I now get
> import errors like "No module named matplotlib._path" because it's
> looking in my git repo for all the modules. I've spent about an hour
> trying to figure out what else might modified my sys.path and this is
> the conclusion I've come to. I've nuked ~/.pip and ~/.ipython to no
> avail.
>
> Did setupegg modify my sys.path? If so, how do I change it back?
>
>
setupegg develop does not modify the sys.path (at least, not permanently --
not sure exactly what it does deep under the hood). What it does is adds a
.egg-lnk file in your site-packages directory to point to your source code
tree. Get rid of that .egg-lnk file, and you should be good to go.
Ben Root
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users