From: Travis B. <td...@fa...> - 2005-04-25 00:48:42
|
Excellent, thanks for the prompt response, Jeff. I've just tried the ireland.py example and am at a complete loss as to what to do about the following error. Traceback (most recent call last): File "ireland.py", line 21, in ? show() File "/platlib/matplotlib/backends/backend_wx.py", line 1156, in show File "/platlib/matplotlib/backends/backend_wxagg.py", line 52, in draw File "/platlib/matplotlib/backends/backend_agg.py", line 319, in draw File "/platlib/matplotlib/figure.py", line 338, in draw File "/platlib/matplotlib/axes.py", line 1296, in draw File "/platlib/matplotlib/lines.py", line 283, in draw File "/platlib/matplotlib/lines.py", line 543, in _draw_dashed TypeError: CXX: type error. Any thoughts? Travis On Sun, 24 Apr 2005 18:30:21 -0600, "Jeff Whitaker" <js...@fa...> said: > Travis Brady wrote: > > >Has anyone successfully installed and run matplotlib from the .dmg here: > > http://sda.iu.edu/projects.html ? > >I'm able to install just fine and I can import pylab and create a plot, > >but using "pylab.show()" crashes Python and returns "Segmentation Fault" > >and nothing else. > > > > > >Also has anyone successfully installed BaseMap on OS X? > >I've attempted to install the latest BaseMap package (I believe it's > >0.3.2) and receive the following error: > >error: could not create > >'/System/Library/Frameworks/Python.framework/Versions/2.3/share/basemap-py23': > >Permission denied > > > >I'm running the stock Python 2.3 and Matplotlib 0.72.1 from the link > >above. > > > >Thanks, > > > >Travis Brady > > > > > Travis: Regarding the basemap install - you need admin privileges on > your mac to install using "python setup.py install", so either run it as > sudo, or if you don't have admin access try "python setup.py install > --home=~" (this will install it in your home directory). If you do the > latter, you'll have to add ~/lib/python to your PYTHONPATH. > > > -Jeff > > -- > Jeffrey S. Whitaker Phone : (303)497-6313 > NOAA/OAR/CDC R/CDC1 FAX : (303)497-6449 > 325 Broadway Web : http://www.cdc.noaa.gov/~jsw > Boulder, CO, USA 80305-3328 Office: Skaggs Research Cntr 1D-124 > -- Travis Brady td...@fa... |