Re: [Qgis-user] error message: Couldn't load PyQGIS. Python support will be disabled

2011-08-22 Thread Martin Dobias
On Sun, Aug 21, 2011 at 11:01 AM, zehari zehari  wrote:
>  dear all,
>  is there any among you who can help me, I get an error message like
> the following:
>
> Couldn't load PyQGIS.
> Python support will be disabled.
>
> 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
>
> Python version:
> 2.7.2+ (default, Aug 16 2011, 07:56:26)
> [GCC 4.6.1]
>
> QGIS version:
> 1.8.0-Trunk 'Trunk', exported
>
> Python path:
> ['/python', '/home/zehari/.qgis/python',

Hi

the invalid python path suggest there is some clash with the
libraries/modules. Please make sure to completely clean up your qgis
installation and try again. This could be a result of some old c++
plugins in the (prefix)/lib/qgis directory or something similar - have
you done any updates of Qt4, PyQt4 or sip recently?

Martin
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] error message: Couldn't load PyQGIS. Python support will be disabled

2011-08-21 Thread zehari zehari
 dear all,
 is there any among you who can help me, I get an error message like
the following:

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

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

Python version:
2.7.2+ (default, Aug 16 2011, 07:56:26)
[GCC 4.6.1]

QGIS version:
1.8.0-Trunk 'Trunk', exported

Python path:
['/python', '/home/zehari/.qgis/python',
'/home/zehari/.qgis/python/plugins', '/python/plugins',
'/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2',
'/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/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PIL',
'/usr/lib/pymodules/python2.7/gtk-2.0',
'/usr/lib/python2.7/dist-packages/gst-0.10',
'/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/ubuntuone-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-control-panel',
'/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol',
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode']

thank you very much for your help.



Cheers,

Zehari
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user