So, QGIS 1.8 ‘Lisboa’ is out! Lots of cool new features, and lots of fixes. Check out the oficial release here.
After installing, time to set things right. Type this in a terminal:
$ export DYLD_LIBRARY_PATH=/Applications/QGIS.app/Contents/MacOS/lib/:/Applications/QGIS.app/Contents/Frameworks/
$ export PYTHONPATH=/Applications/QGIS.app/Contents/Resources/python/
Now test it:
$ python Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import qgis.core >>> import qgis.gui >>> import PyQt4.QtCore >>> import PyQt4.QtGui
Nice! While you’re at it, set the path for you command-line GDAL programs:
Now, this will only work in the current terminal session. To make it permanent, add these lines to your