Turned out it was a wonky set-up of Python on my Mac. Thanks for your help!
Mano Marks Geo Developer Advocate http://twitter.com/ManoMarks On Fri, Sep 11, 2009 at 5:47 PM, Mano Marks <mma...@google.com> wrote: > I'm still getting the same error, unfortunately. > > Mano Marks > Geo Developer Advocate > http://twitter.com/ManoMarks > > > > > On Fri, Sep 11, 2009 at 4:27 PM, Christopher Schmidt > <crschm...@metacarta.com> wrote: >> On Fri, Sep 11, 2009 at 03:57:11PM -0700, Mano Marks wrote: >>> Using gdal2tiles on the mac, I get an ImportError for gdal: >>> >>> Traceback (most recent call last): >>> File "/Library/Frameworks/GDAL.framework/Programs/gdal2tiles.py", >>> line 42, in ? >>> import gdal >>> ImportError: No module named gdal >>> >>> Any suggestions? I tried mucking around with paths, no luck so far. >> >> Using KyngChaos binaries, on a new laptop I just got today, I can do this: >> >> PYTHONPATH="/Library/Frameworks/GDAL.framework/Versions/1.6/Python/site-packages/" >> python /Library/Frameworks/GDAL.framework/Programs/gdal2tiles.py >> >> (This is on Snow Leopard; Tiger and older will need to install Python2.5 >> from python.org.) >> >>> I understand that maptiler is the replacement, but it's been in alpha >>> for awhile and I'd like to create samples for people who are not >>> willing to use alpha software. >> >> MapTiler isn't really a replacement, just a graphical interface. You will >> likely need to have GDAL libraries in the Path still. >> >> -- Chris >> >>> Mano Marks >>> Geo Developer Advocate >>> http://twitter.com/ManoMarks >>> _______________________________________________ >>> gdal-dev mailing list >>> gdal-dev@lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/gdal-dev >> >> -- >> Christopher Schmidt >> MetaCarta >> > _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev