[Qgis-user] Couldn't load SIP module. Python support will be disabled.

Andre Joost andre+joost at nurfuerspam.de
Fri Dec 21 05:03:31 PST 2018


Am 21.12.18 um 11:08 schrieb Giacomo Fontanelli:
> Hi forum
>
> I just installed QGIS 3.4 in Lubuntu 18.10 64 bit using repositories.
>
> When I lunch the application I immediately get an error message
>
> Couldn't load SIP module.
> Python support will be disabled.
>
>
> Traceback (most recent call last):
>    File "", line 1, in
>    File "/usr/lib/python3/dist-packages/qgis/__init__.py", line 80, in
>      import qgis.gui
>    File "/usr/lib/python3/dist-packages/qgis/gui/__init__.py", line 27, in
>      from qgis._gui import *
> RuntimeError: the sip module implements API v12.0 to v12.4 but the
> qgis._gui module requires API v12.5
>

This might be caused by the virtual package sip-py3api-12.5 which should 
be provided by python3-sip (4.19.12+dfsg-1) [universe] using the Ubuntu 
cosmic repo.

If you have python-sip (4.19.13+dfsg-1) from the debian sid repo, it 
provides only virtual sip-api-12.4 and that is not what QGIS is built 
against.

HTH,
Andre Joost




More information about the Qgis-user mailing list