From: Jeff W. <js...@fa...> - 2005-04-25 00:30:37
|
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 |