[Qgis-user] Couldn't load SIP, Python support disabled

Volker Fröhlich volker27 at gmx.at
Wed Jun 26 00:04:45 PDT 2019


If you have a FAS account, please add karma here, if 3.4.6-5 works for
you: https://bodhi.fedoraproject.org/updates/FEDORA-2019-3fc1c69d70

Volker

Am 26.06.19 um 09:02 schrieb Volker Fröhlich:
> That was a packaging mistake in Fedora. You can resolve it by installing
> the package version 3.4.6-5 or by installing the runtime dependency I
> missed: python3-qscintilla-qt5
>
> Greetings,
>
> Volker
>
>
> Am 26.06.19 um 06:29 schrieb Ahmed Shubbar:
>> I recently installed Qgis on Fedora 30. But did not get python support
>> working and can see only 8 plugins available. I also tried installing
>> newer Qgis 3.6.3-Noosa, but got the same errors.
>>
>> QGIS version: 3.4.6
>> OS: Fedora 30
>>
>> ============
>> ### Python Error 1:
>>
>> Couldn't load SIP module.
>> Python support will be disabled.
>>
>> Traceback (most recent call last):
>>    File "", line 1, in
>>    File "/usr/lib64/python3.7/site-packages/qgis/__init__.py", line
>> 72, in
>>      from qgis.PyQt import QtCore
>>    File "/usr/lib64/python3.7/site-packages/qgis/PyQt/QtCore.py", line
>> 26, in
>>      from PyQt5.QtCore import *
>> ImportError: /lib64/libQt5Core.so.5: version `Qt_5_PRIVATE_API' not
>> found (required by
>> /home/ahmed/.local/lib/python3.7/site-packages/PyQt5/QtCore.so)
>>
>> Python version:
>> 3.7.3 (default, May 11 2019, 00:38:04)
>> [GCC 9.1.1 20190503 (Red Hat 9.1.1-1)]
>>
>> QGIS version:
>> 3.4.6-Madeira 'Madeira', exported
>>
>> Python path:
>> ['/usr/share/qgis/python',
>> '/home/ahmed/.local/share/QGIS/QGIS3/profiles/default/python',
>> '/home/ahmed/.local/share/QGIS/QGIS3/profiles/default/python/plugins',
>> '/usr/share/qgis/python/plugins', '/usr/lib64/python37.zip',
>> '/usr/lib64/python3.7', '/usr/lib64/python3.7/lib-dynload',
>> '/home/ahmed/.local/lib/python3.7/site-packages',
>> '/usr/local/lib64/python3.7/site-packages',
>> '/usr/local/lib/python3.7/site-packages',
>> '/usr/lib64/python3.7/site-packages', '/usr/lib/python3.7/site-packages']
>>
>> ============
>> ### Python Error 2:
>>
>> An error occurred during execution of following code:
>> qgis.utils.uninstallErrorHook()
>>
>> Traceback (most recent call last):
>>    File "", line 1, in
>> NameError: name 'qgis' is not defined
>>
>> Python version:
>> 3.7.3 (default, May 11 2019, 00:38:04)
>> [GCC 9.1.1 20190503 (Red Hat 9.1.1-1)]
>>
>> QGIS version:
>> 3.4.6-Madeira 'Madeira', exported
>>
>> Python path:
>> ['/usr/share/qgis/python',
>> '/home/ahmed/.local/share/QGIS/QGIS3/profiles/default/python',
>> '/home/ahmed/.local/share/QGIS/QGIS3/profiles/default/python/plugins',
>> '/usr/share/qgis/python/plugins', '/usr/lib64/python37.zip',
>> '/usr/lib64/python3.7', '/usr/lib64/python3.7/lib-dynload',
>> '/home/ahmed/.local/lib/python3.7/site-packages',
>> '/usr/local/lib64/python3.7/site-packages',
>> '/usr/local/lib/python3.7/site-packages',
>> '/usr/lib64/python3.7/site-packages', '/usr/lib/python3.7/site-packages']
>>
>> ============
>> ### Python Error 3 (on closing QGIS):
>>
>> An error occurred during execution of following code:
>> qgis.utils.uninstallErrorHook()
>>
>> SystemError: PyEval_EvalCodeEx: NULL globals
>>
>> Python version:
>>
>> QGIS version:
>> 3.4.6-Madeira 'Madeira', exported
>>
>> Python path:
>>
>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


More information about the Qgis-user mailing list