[Qgis-user] gdal_merge - GDAL Tools plugin Qgis error message
Pierre Chevalier Géologue
pierrechevaliergeol at free.fr
Tue Sep 28 16:40:56 EDT 2010
A stupid idea: why not doing a symbolic link to your python in your
At least, you can be sure that /usr/bin is in the path.
I just borrowed my wife's Mac for a few seconds, to see if there was a
python there, and where it was installed: there is a python (even
several ones), it is located in /usr/bin, as one may expect:
Pomme:~ mariechevalier$ whereis python
Now, to know where are all the pythons:
Pomme:~ mariechevalier$ locate python
... follows a long, long list...
If you do so, you will find where your python interpreter is. Then, as
root, do a symbolic link, something like:
ln -s /Applications/SomeApplication.app/Contents/python /usr/bin/
This will create a symbolic link of python in /usr/bin/. It will
You may have to make sure that you link it to the right version of
python, the one that gdal expects. Usually, python versions do not
import too much, except for version 2.x to version 3, where some serious
changes are needed in the scripts.
William Kyngesburye claviota:
> As I said, the pymod option is disabled, there is no way to set this. Maybe it's a Mac thing to disable this? the only GDAL Tools setting that is enabled is the GDAL binaries path.
> It probably wouldn't help anyways, since it's probably meant to help Python find the gdal python extensions. But we're trying to find Python itself. That's where the environment PATH is needed (ie from Qgis), or a GdalTools python path setting.
> On Sep 28, 2010, at 12:36 PM, Giovanni Manghi wrote:
>>> AFAIK on OSX the path to python mods should be similar to
>>> Does it work now? If no, restart QGis and to execute the tool again.
>> I don't have a Mac either but a colleague is telling me that this is not
>> enough to make .py gdal tools work.
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> "Those people who most want to rule people are, ipso-facto, those least suited to do it."
> - A rule of the universe, from the HitchHiker's Guide to the Galaxy
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
Pierre Chevalier Géologue EI
Tél+fax : 09 75 27 45 62
05 62 28 06 83
06 37 80 33 64
Émail : pierrechevaliergeolCHEZfree.fr
icq# : 10432285
skype : pierre.chevalier1967
More information about the Qgis-user