[Qgis-user] Mac OSX - ImportError: No module named gdal
William Kyngesburye
woklist at kyngchaos.com
Wed Feb 15 20:10:53 PST 2012
On Feb 15, 2012, at 7:42 PM, dpan wrote:
>
> William Kyngesburye wrote
>>
>> What does this return in a Terminal:
>> file /System/Library/Frameworks/Python.framework/Versions/2.7/Python
>> It should be "No such file or directory".
>>
>
> Yes, it returns:
> cannot open
> `/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (No such
> file or directory)
>
>
> William Kyngesburye wrote
>>
>> What does this return in a Terminal:
>> ls -l /Library/Frameworks/GDAL.framework/Versions
>>
>
> total 8
> drwxrwxr-x 10 root admin 340 Feb 12 21:28 1.8
> lrwxr-xr-x 1 root admin 3 Aug 22 10:02 Current -> 1.8
>
Good.
>
> William Kyngesburye wrote
>>
>> Forcing GdalTools plugin to use a user-installed Python 2.7 on Snow
>> Leopard with the Python 2.7 version of the GDAL module may work, but I
>> don't support that in my GDAL framework.
>>
>
> OK, not sure what to do now...do I need to point things back to the Python
> 2.6 install?
Just trying to figure out what exactly is wrong and how it got that way...
Check this in Terminal:
head -n 1 /Library/Frameworks/GDAL.framework/Programs/gdal_polygonize.py
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"The beast is actively interested only in now, and, as it is always now and always shall be, there is an eternity of time for the accomplishment of objects."
- the wisdom of Tarzan
More information about the Qgis-user
mailing list