Re: [Matplotlib-users] Update to Matplotlib and Numpy producing error
John Hunter wrote: > By the way, on windows you can edit the rc file in place (ie leave it > in mpl-data). I need to update the instructions in that file -- they > are out of date. > please do, they indicate movement is required. > > This is weird: it is working on my end once I update my "backend" > setting to "TkAgg". i tried TkAgg as well but still no go. > After running the 0.98 installer do you have > pylab.py in site-packages? yep, its right there. very weird. does matplotlib fiddle with sys.path or some such? > Make sure you remove all matplotlib traces > from site-packages before installing. i did that and re-installed, same problem. Les - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Update to Matplotlib and Numpy producing error
Les Schaffer wrote: > John Hunter wrote: > > >> After running the 0.98 installer do you have >> pylab.py in site-packages? >> > > yep, its right there. very weird. does matplotlib fiddle with sys.path > or some such? actually, it was right there in site-packages/matplotlib, which is what i assume you meant. i accidentally installed matplotlib/examples in my site-packages folder and when i cleaned that up, i inadvertently removed the pylab you put up there. so i re-installed matplotlib once more, and now pylab is up in site-packages, and the pylab examples run fine, after i realized i needed to change the backend again in matplotlibrc -- i had deleted the one on Docs and Settings\ per your advice, and got bit ;-) Les - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Update to Matplotlib and Numpy producing error
John Hunter wrote:
> This is a problem with our installer since the default backend we have
> set is GTKAgg (we usually set it to GTKAgg). Fortunately, it is
> relatively easy for you to fix:. Edit
> site-packages/matplotlib/mpl-data/matplotlib and change the 'backend :
> GTKAgg' line to
>
> backend : TkAgg
there are two files there: matplotlibrc and matplotlib.conf. is there a
selection principle for choosing one or the other?
i moved matplotlibrc to the indicated folder, set backed to WXAgg and
some of the examples run. but i am getting failures finding pylab when i
run the pylab examples:
$ python geo_demo.py
Traceback (most recent call last):
File "geo_demo.py", line 4, in
from pylab import *
ImportError: No module named pylab
am not sure why the interpreter isnt finding pylab module even tho, for
example, examples/{api, animation} runs, with a few exceptions.
Les
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
