[Qgis-developer] "Couldn't load PyQGIS" after downgrading PyQt4

Germán Carrillo carrillo.german at gmail.com
Wed May 16 07:09:53 PDT 2012


Hi devs,

does anyone know why I'm getting a "Couldn't load PyQGIS" error when
starting QGIS? I'm working with QGIS 1.8.0-Lisboa, a1255fc, Python 2.7.2.

I've just downgraded PyQt4 from 4.8.5 to 4.8.3 on Ubuntu Oneiric. I had to
remove qgis-python before downgrading but I already installed it again. The
error message is:

-------

Traceback (most recent call last):
  File "", line 1, in
RuntimeError: the PyQt4.QtCore module is version -1 but the qgis.core
module requires version 1
-------

The strange thing is that I'm able to load PyQt4.QtCore from a Python
terminal.


Regards,

Germán

-- 
-----------
   |\__
(:>__)(
   |/

Soluciones Geoinformáticas Libres
http://geotux.tuxfamily.org/
http://twitter.com/GeoTux2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120516/af01e654/attachment.html


More information about the Qgis-developer mailing list