[GRASS-dev] PYTHONPATH question
Michael Barton
michael.barton at asu.edu
Sun Jul 27 17:52:38 EDT 2008
Any idea why the following PYTHONPATH in my .profile works fine for
GRASS finding packages like MatPlotLib and a version with the site-
packages entry last does not?
PYTHONPATH="/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages:/Library/Frameworks/Python.framework/Versions/
2.5/lib/python25.zip:/Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5:/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/plat-darwin:/Library/Frameworks/Python.framework/Versions/
2.5/lib/python2.5/plat-mac:/Library/Frameworks/Python.framework/
Versions/2.5/lib/python2.5/plat-mac/lib-scriptpackages:/Library/
Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk:/Library/
Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-
dynload:"$PYTHONPATH
I had to modify this from the one that the Mac Python installation
sets to put site-packages first. The Python interpreter has no problem
with the path either way. Does something in the grass Python parser
stop reading this path if it hits non-existent directories?
Michael
____________________
C. Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20080727/b76d0d89/attachment-0001.html
More information about the grass-dev
mailing list