To solve a display problem I was suggested to use QWebEngineView
.
I inserted
from PyQt5.QtWebEngineWidgets import QWebEngineView
in the script which when executed emits:
from PyQt5.QtWebEngineWidgets import QWebEngineView
ImportError: libQt5Positioning.so.5: cannot open shared object file: No such file or directory
# locate libQt5Positioning.so.5
/root/.cache/pyinstaller/bincache00_py38_64bit/libQt5Positioning.so.5
/root/PycharmProjects/alltogether/build/exe.linux-x86_64-3.8/lib/PyQt5/Qt5/lib/libQt5Positioning.so.5
/root/PycharmProjects/extract/build/exe.linux-x86_64-3.9/lib/PyQt5/Qt5/lib/libQt5Positioning.so.5
/root/PycharmProjects/personal/venv/lib/python3.8/site-packages/PyQt5/Qt5/lib/libQt5Positioning.so.5
/root/anaconda3/lib/libQt5Positioning.so.5
/root/anaconda3/lib/libQt5Positioning.so.5.9
/root/anaconda3/lib/libQt5Positioning.so.5.9.7
/root/anaconda3/pkgs/qt-5.9.7-h5867ecd_1/lib/libQt5Positioning.so.5
/root/anaconda3/pkgs/qt-5.9.7-h5867ecd_1/lib/libQt5Positioning.so.5.9
/root/anaconda3/pkgs/qt-5.9.7-h5867ecd_1/lib/libQt5Positioning.so.5.9.7
/usr/lib/insync/libQt5Positioning.so.5
/usr/lib/python3.5/dist-packages/PySide2/Qt/lib/libQt5Positioning.so.5
/usr/lib/wingide-personal6/bin/runtime-qt5.5/lib/libQt5Positioning.so.5
/usr/lib/wingide-personal6/bin/runtime-qt5.5/lib/libQt5Positioning.so.5.5
/usr/lib/wingide-personal6/bin/runtime-qt5.5/lib/libQt5Positioning.so.5.5.1
/usr/local/lib/personal/lib/python3.10/site-packages/PyQt5/Qt5/lib/libQt5Positioning.so.5
/usr/local/lib/python3.5/dist-packages/PySide2/Qt/lib/libQt5Positioning.so.5
/usr/local/lib/python3.8/site-packages/PyQt5/Qt5/lib/libQt5Positioning.so.5
/usr/local/lib/python3.9/site-packages/PyQt5/Qt5/lib/libQt5Positioning.so.5
I use python3.8
without venv
. If I use venv
, it doesn't even find QtWebEngineWidgets
Through Pycharm I solved the problem by updating PyQtWebEngine from 5.12 to 5.15