[Qgis-developer] Python support error after compilation

Jorge Tornero - Listas jtorlistas at gmail.com
Mon Jul 21 04:07:01 PDT 2014


Hello all,

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


Traceback (most recent call last):
   File "", line 1, in
   File "/home/antares/dev/QGIS/build/output/python/qgis/gui/__init__.py", line 1, in
     from qgis._gui import *
ImportError: dynamic module does not define init function (init_gui)

Python version:
2.7.6 (default, Mar 22 2014, 23:03:41)
[GCC 4.8.2]

QGIS version:
2.5.0-Master 'Master', a3447dd

Python path:
['/home/antares/dev/QGIS/build/output/python', 
u'/home/antares/.qgis2/python', u'/home/antares/.qgis2/python/plugins', 
'/home/antares/dev/QGIS/build/output/python/plugins', 
'/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', 
'/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', 
'/usr/lib/python2.7/lib-dynload', 
'/usr/local/lib/python2.7/dist-packages', 
'/usr/local/lib/python2.7/dist-packages/Orange/orng', 
'/usr/lib/python2.7/dist-packages', 
'/usr/lib/python2.7/dist-packages/PILcompat', 
'/usr/lib/python2.7/dist-packages/gtk-2.0', 
'/usr/lib/pymodules/python2.7', 
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client', 
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode']


I've been looking through the list archives but found nothing relevant 
related to this error. I compiled perfectly with 2.3.

Any clues?

Thanks for your help

Jorge Tornero
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140721/1dd4da56/attachment.html>


More information about the Qgis-developer mailing list