[Qgis-user] Mac OSX - ImportError: No module named gdal
William Kyngesburye
woklist at kyngchaos.com
Thu Feb 16 06:39:17 PST 2012
> On Feb 15, 2012, at 10:10 PM, William Kyngesburye wrote:
>
>>
>> On Feb 15, 2012, at 7:42 PM, dpan wrote:
>>
>>> 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 /Programs/gdal_polygonize.py
On Feb 16, 2012, at 8:08 AM, dpan wrote:
> #!/usr/bin/env python2.7
>
Very puzzling, the installer should have made it python2.6. Did you change something after installing, or did you copy from a Lion Mac? Try deleting the GDAL framework: /Library/Frameworks/GDAL.framework and reinstalling, then check that head again.
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"Mon Dieu! but they are all alike. Cheating, murdering, lying, fighting, and all for things that the beasts of the jungle would not deign to possess - money to purchase the effeminate pleasures of weaklings. And yet withal bound down by silly customs that make them slaves to their unhappy lot while firm in the belief that they be the lords of creation enjoying the only real pleasures of existence....
- the wisdom of Tarzan
More information about the Qgis-user
mailing list