[Qgis-user] PyQGIS load failure, Mac OSX 10.6, Python 2.7

David Fillmore fillmore at txcorp.com
Sat Jan 1 19:49:10 PST 2011


Hi,
I'm trying to get QGIS installed and working in Mac OSX 10.6 with MacPorts.
Have encountered an error loading the python modules (message below).
Anybody know of a solution?

cheers,
David

Couldn't load PyQGIS.
Python support will be disabled.

Traceback (most recent call last):
  File "", line 1, in 
ImportError: dynamic module does not define init function (initcore)

Python version:
2.7.1 (r271:86832, Dec 28 2010, 19:22:36) 
[GCC 4.2.1 (Apple Inc. build 5664)]

QGIS version:
1.6.0-Copiapo 'Copiapo', exported

Python path:
['/opt/local/var/macports/software/qgis/1.6.0_0/Applications/MacPorts/QGIS.app/Contents/MacOS/../Resources/python', '/Users/fillmore/.qgis/python', '/Users/fillmore/.qgis/python/plugins', '/opt/local/var/macports/software/qgis/1.6.0_0/Applications/MacPorts/QGIS.app/Contents/MacOS/../Resources/python/plugins', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyObjC', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info']
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20110101/35bd7ef9/attachment.html>


More information about the Qgis-user mailing list