[Qgis-user] ImportError: No module named qgis.core

Stefan ml at z107.de
Tue Oct 13 10:05:09 PDT 2009


Hi,

I just upgraded by qgis to version 1.3 by building qgis from source.

After the start, qgis tells me, that PyQGIS could not be loaded and the
python support is deactivated:

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

Traceback (most recent call last):
File "", line 1, in 
ImportError: No module named qgis.core

Python version:
2.5.2 (r252:60911, Jan  4 2009, 18:00:02) 
[GCC 4.3.2]

Python path:
['/python', '/home/smu/.qgis//python/plugins', '/python/plugins',
'/usr/lib/python2.5/site-packages/bpython-0.9.4-py2.5.egg',
'/usr/lib/python2.5/site-packages/Pygments-1.0-py2.5.egg',
'/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2',
'/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload',
'/usr/local/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages/Numeric',
'/usr/lib/python2.5/site-packages/PIL',
'/var/lib/python-support/python2.5',
'/var/lib/python-support/python2.5/gtk-2.0']
------

But python qt4 is installed (python-qt4, python-qt4-common,
python-qt4-dbus, python-qt4-dev) My system is debian lenny.


Any ideas how to fix this?

thanks,
 stefan



More information about the Qgis-user mailing list