Bug report #8064

Python error on QGIS 1.8.0 when running on Debian testing with latest updates

Added by Andrey Isakov over 7 years ago. Updated over 7 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:-
Affected QGIS version:1.8.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:No Copied to github as #:16903

Description

When launching QGIS 1.8.0 on Debian testing with latest updates an error appears:

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

Traceback (most recent call last):
  File "", line 1, in 
RuntimeError: the sip module implements API v9.0 to v9.2 but the qgis.core module requires API v8.1

Версия Python:
2.7.5+ (default, Jun  2 2013, 13:28:26) 
[GCC 4.7.3]

Версия QGIS:
1.8.0-Lisboa 'Lisboa', exported

Путь поиска Python:
['/usr/share/qgis/python', '/home/andrey/.qgis//python', '/home/andrey/.qgis//python/plugins', '/usr/share/qgis/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/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7']

QGIS is useless without Python.

History

#1 Updated by Giovanni Manghi over 7 years ago

  • Priority changed from Severe/Regression to Normal

most probably a local issue, maybe you have mixed packages?

#2 Updated by Andrey Isakov over 7 years ago

Giovanni Manghi wrote:

most probably a local issue, maybe you have mixed packages?

Mixed packages of what?
This happened after installing updates on Debian.

#3 Updated by Jürgen Fischer over 7 years ago

  • Resolution set to invalid
  • Status changed from Open to Closed

There are no 1.8 builds for jessie - try the nightly builds of master for unstable/sid or build 1.8 packages from source.

Also available in: Atom PDF