Problems with OS X 10.5.6 and Python 2.5 and GDAL 1.6

2009-02-16 Thread Helly John J.
Hi. I'm a newbie to python and am running: OS X 10.5.6 Python 2.5.4 and have run easy_install for gdal like this: /Library/Python/2.5/site-packages>sudo easy_install GDAL Password: Searching for GDAL Best match: GDAL 1.6.0 Processing GDAL-1.6.0-py2.5-macosx-10.5-i386.egg GDAL 1.6.0 is already

Re: Problems with OS X 10.5.6 and Python 2.5 and GDAL 1.6

2009-02-19 Thread Helly John J.
) / stonesteps7 (iChat) http://www.sdsc.edu/~hellyj On Feb 17, 2009, at 2:43 PM, Miles wrote: On Mon, Feb 16, 2009 at 8:35 PM, Helly John J. wrote: However, when I run python and try to import gdal, this is what happens: Python 2.5.4 (r254:67917, Dec 23 2008, 14:57:27) [GCC 4.0.1 (Apple Computer, Inc

Re: Problems with OS X 10.5.6 and Python 2.5 and GDAL 1.6

2009-02-19 Thread Helly John J.
Oceanography 9500 Gilman Dr. Mail Code, La Jolla CA 92093 Phone: Voice +01 760 840 8660 mobile / stonesteps (Skype) / stonesteps7 (iChat) http://www.sdsc.edu/~hellyj On Feb 17, 2009, at 12:30 PM, Philip Semanchuk wrote: On Feb 16, 2009, at 8:35 PM, Helly John J. wrote: Hi. I'm a newb

Re: Problems with OS X 10.5.6 and Python 2.5 and GDAL 1.6

2009-02-19 Thread Helly John J.
Thanks very much. I'll give it a go. Cheers. -- John Helly, University of California, San Diego San Diego Supercomputer Center, Mail Code 0527 Scripps Institution of Oceanography, Climate, Atmospheric Science, and Physical Oceanography, Mail Code 0224 9500 Gilman Dr., La Jolla CA

Re: Problems with OS X 10.5.6 and Python 2.5 and GDAL 1.6

2009-02-19 Thread Helly John J.
Hi. You are correct about finding the module, Ned. Thanks for that although I don't understand why it works. However, there are complications. 1. Using '/usr/bin/python' and 'from osgeo import gdal' works but throws an error the first time it's invoked. NeptuneDesk.local:/Volumes/B2_1

Re: Problems with OS X 10.5.6 and Python 2.5 and GDAL 1.6

2009-02-19 Thread Helly John J.
8660 mobile / stonesteps (Skype) / stonesteps7 (iChat) http://www.sdsc.edu/~hellyj On Feb 19, 2009, at 7:02 PM, Ned Deily wrote: In article <2fe1a73a-5bdd-45cd-8323-ccdf68df3...@ucsd.edu>, "Helly John J." wrote: [...] 3. I changed the gdal_merge.py code so it uses the cor