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

2009-02-19 Thread Helly John J.
Thanks, Ned. Despite the problems, your help has given me something to work with. Cheers. -- John Helly, University of California, San Diego San Diego Supercomputer Center Scripps Institution of Oceanography 9500 Gilman Dr. Mail Code, La Jolla CA 92093 Phone: Voice +01 760 840 8660

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

2009-02-19 Thread Ned Deily
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 correct syntax > even after the error but then find that I get the original 'no module' > error, I think, because gdal_merge.py starts with the line:

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.
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 Ned Deily
In article , Ned Deily wrote: > It looks like you have installed GDAL to the site-packages directory of > the Apple-supplied python 2.5 (which, for 10.5, is 2.5.1, not 2.4). > That site-packages directory is /Library/Python/2.5. The Apple-supplied > python comes with a sym link from /usr/bin/

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

2009-02-19 Thread Ned Deily
In article , "Helly John J." wrote: > I installed the 2.5.4 binary from the python.org site. I did this > because NumPy and SciPy currently only work with 2.5 and the system > version was 2.4. >[...] > On Feb 16, 2009, at 8:35 PM, Helly John J. wrote: > > I'm a newbie to python and am runnin

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

2009-02-19 Thread Philip Semanchuk
On Feb 19, 2009, at 12:30 PM, Helly John J. wrote: Hi Philip. I installed the 2.5.4 binary from the python.org site. I did this because NumPy and SciPy currently only work with 2.5 and the system version was 2.4. It looks like you're using the same Python at the command line as the Pyt

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

2009-02-19 Thread Helly John J.
Hi Philip. I installed the 2.5.4 binary from the python.org site. I did this because NumPy and SciPy currently only work with 2.5 and the system version was 2.4. Cheers. -- John Helly, University of California, San Diego San Diego Supercomputer Center Scripps Institution of Ocean

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

2009-02-19 Thread Helly John J.
Hi Miles. Same result from that as well. Cheers. -- John Helly, University of California, San Diego San Diego Supercomputer Center Scripps Institution of Oceanography 9500 Gilman Dr. Mail Code, La Jolla CA 92093 Phone: Voice +01 760 840 8660 mobile / stonesteps (Skype) / stonesteps

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

2009-02-17 Thread Miles
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. build 5363)] on darwin > Type "help", "copyright", "credits" or "license" for more i

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

2009-02-17 Thread Philip Semanchuk
On Feb 16, 2009, at 8:35 PM, Helly John J. wrote: Hi. I'm a newbie to python and am running: OS X 10.5.6 Python 2.5.4 Hi John, Are you using the system Python or have you installed another version? Cheers Philip and have run easy_install for gdal like this: /Library/Python/2.5/site