On Ubuntu 16.0.4
, I am trying to run this PyQt5 script, and I have the distributed packages for Qt5
(via apt
) and PyQt5
(via pip3
) installed.
Error:
sudo ./video_qt.py
Traceback (most recent call last): File "./video_qt.py", line 8, in from PyQt5 import QtWidgets, QtCore ImportError: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: version `Qt_5' not >found (required by /usr/local/lib/python3.5/dist-packages/PyQt5/QtWidgets.so)
But it is there:
ls /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
What could be going on here?