Ariel Rokem wrote: > Resending with CC to list: > > D'oh. I forgot to do that. OK - now I went back and ran: > > env ARCHFLAGS='-arch i386' python setup.py install > > That also went with no hitches > > Then, in Python: > > >>>> import matplotlib >>>> matplotlib.__version__ >>>> > '0.98.5.2' >
Ariel: This tells me you really didn't install it, or you installed it in a different version of python than you are trying to import it with. > So - still no version update. I ran: > > 'easy_install matplotlib', which somehow seems to change the path > setting to find the most recent version of things (maybe someone here > can tell me how this happens?) now: > > >>>> import matplotlib >>>> matplotlib.__version__ >>>> > '0.99.0' > > However, now, when I run a script that has plotting in it, in ipython, > the script hangs after plotting. That is, it puts up the first figure > in the script (a simple bar graph) and then doesn't do anything more. > So - on the one hand, it doesn't crash while building and installing. > On the other hand, it doesn't work. > We'll need more details on this one - a simple script that triggers it and what backend you're using, for starters. -Jeff > Cheers, > > Ariel > > On Thu, Aug 13, 2009 at 5:19 AM, Jeff Whitaker<jsw...@fastmail.fm> wrote: > >> Ariel Rokem wrote: >> >>> Hi - that's interesting - I am actually on OS10.5. For some reason, >>> the MPL libraries get built under a directory called >>> "lib.macosx-10.3-fat-2.5" and the SDK set in the Python Makefile is >>> /Developer/SDKs/MacOSX10.4u.sdk, which is why you see these mentioned >>> in the output. >>> >>> Wondering if that is the cause of the problems, I reset the SDK in the >>> Makefile to /Developer/SDKs/MacOSX10.5.sdk (in the definition of >>> BASECFLAGS, as well as LDFLAGS). As before, I removed the '-arch ppc' >>> (from these two places, as well) and ran 'env ARCHFLAGS='-arch i386' >>> python setup.py build' >>> >>> This time I don't get any compilation errors at all. It just runs >>> through. However, when I import matplotlib in python, I still get: >>> >>> >> Ariel: Did you run 'python setup.py install'? >> >> -Jeff >> >> >> > > > > -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/PSD R/PSD1 Email : jeffrey.s.whita...@noaa.gov 325 Broadway Office : Skaggs Research Cntr 1D-113 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel