[Qgis-user] Couldn't load SIP, Python support disabled
Ahmed Shubbar
ahmed.shubbar at gmail.com
Tue Jun 25 21:29:03 PDT 2019
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:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190626/b1aea0ae/attachment.html>
More information about the Qgis-user
mailing list