[Qgis-user] compiled qgis1.5 but have no Python support

Ricardo Filipe Soares Garcia da ricardo.garcia.silva at gmail.com
Sun Jul 25 02:40:44 PDT 2010


Hello all
I am using Kubuntu 10.04. I was using Qgis 1.4 from the ubuntugis ppa,
which worked fine.
After compiling the new Qgis 1.5, python support is no longer enabled.
I am getting the following error when I start Qgis:

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.6.5 (r265:79063, Apr 16 2010, 13:28:26)
[GCC 4.4.3]

QGIS version:
1.5.0-Tethys 'Tethys', 13958

Python path:
['/home/ricardo/programas/qgisTrunk/share/qgis/python',
'/home/ricardo/.qgis/python', '/home/ricardo/.qgis/python/plugins',
'/home/ricardo/programas/qgisTrunk/share/qgis/python/plugins',
'/usr/local/lib/python2.6/dist-packages/dbf-0.87.14-py2.6.egg',
'/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2',
'/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old',
'/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages/PIL',
'/usr/lib/pymodules/python2.6',
'/usr/lib/pymodules/python2.6/gtk-2.0',
'/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode',
'/usr/local/lib/python2.6/dist-packages']

I noticed that, during compilation, there were some change issues that
had never happened to me before. The 'make' process would exit with an
error, complaining about not finding some sip or qt4 related stuff,
but after I retried it went on just fine. This happended three times.
I don't know if it is related, because the compilation ended
successfully, but I will recompile and post the exact errors, if they
are relevant.

Thanks for your help



-- 
___________________________ ___ __
Ricardo Garcia Silva



More information about the Qgis-user mailing list