Couldn't find a similar question for Linux, just Windows.

I'm running Linux Mint 19.3.

Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/lib/python3/dist-packages/qgis/__init__.py", line 70, in 
    from qgis.PyQt import QtCore
  File "/usr/lib/python3/dist-packages/qgis/PyQt/QtCore.py", line 24, in 
    from PyQt5.QtCore import *
ImportError: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.14' not found (required by /home/jrickards/.local/lib/python3.6/site-packages/PyQt5/QtCore.abi3.so)

Python version:
3.6.9 (default, Apr 18 2020, 01:56:04) 
[GCC 8.4.0]

QGIS version:
3.10.5-A Coruña 'A Coruña', exported

Python path:
['/usr/share/qgis/python', '/home/jrickards/.local/share/QGIS/QGIS3/profiles/default/python', '/home/jrickards/.local/share/QGIS/QGIS3/profiles/default/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib/python36.zip', '/usr/lib/python3.6', '/usr/lib/python3.6/lib-dynload', '/home/jrickards/.local/lib/python3.6/site-packages', '/usr/local/lib/python3.6/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3.6/dist-packages']

How do I resolve this?


Is pyqt5 installed ? You can write this in a terminal to do so :

sudo apt install python3-pyqt5 pyqt5-dev-tools qttools5-dev-tools
| improve this answer | |
  • ran this, no difference – jrickards May 20 at 18:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.