> > The important part is that the QGIS path is at the top of the sys.path > list, so python finds the bundled pyqt before any pyqt installed in > site-packages. >
Ah, ok! >>>import sys >>> sys.path.append('/Applications/QGIS_1_6.app/Contents/Resources/python') >>> from qgis.core import * Traceback (most recent call last): File "<pyshell#2>", line 1, in <module> from qgis.core import * RuntimeError: the sip module implements API v7.0 to v7.1 but the qgis.core module requires API v8.0 >>>import sys >>> sys.path.insert(0, '/Applications/QGIS_1_6.app/Contents/Resources/python') >>> from qgis.core import * >>> Thanks a lot!
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer