undefined symbol: qt_version_tag
-
Hello,
I've install PyQt5 via pip, into a conda env, which worked fine but then when I try to import PyQt5.QtWidgets I always get:ImportError: /home/ben/Softwares/miniconda3/envs/cp_test/lib/python3.8/site-packages/PyQt5/QtWidgets.abi3.so: undefined symbol: qt_version_tag, version Qt_5.15
I run the env in Ubuntu 22.04.2LTS, if that can help and here is the env related pkgs:
Successfully installed markdown-3.4.3 qtwidgets-1.1 (cp_test) ben@ben-desktop:/media/ben/Analysis/Python/ImageAnalysis_pipeline$ conda list | grep pyqt pyqt5 5.15.9 pypi_0 pypi pyqt5-qt5 5.15.2 pypi_0 pypi pyqt5-sip 12.11.0 pypi_0 pypi pyqtchart 5.12 pypi_0 pypi pyqtgraph 0.12.4 pypi_0 pypi pyqtwebengine 5.12.1 pypi_0 pypi (cp_test) ben@ben-desktop:/media/ben/Analysis/Python/ImageAnalysis_pipeline$ pip list | grep pyqt pyqtgraph
Thanks in advance for the help.
Ben -
Hello,
I've install PyQt5 via pip, into a conda env, which worked fine but then when I try to import PyQt5.QtWidgets I always get:ImportError: /home/ben/Softwares/miniconda3/envs/cp_test/lib/python3.8/site-packages/PyQt5/QtWidgets.abi3.so: undefined symbol: qt_version_tag, version Qt_5.15
I run the env in Ubuntu 22.04.2LTS, if that can help and here is the env related pkgs:
Successfully installed markdown-3.4.3 qtwidgets-1.1 (cp_test) ben@ben-desktop:/media/ben/Analysis/Python/ImageAnalysis_pipeline$ conda list | grep pyqt pyqt5 5.15.9 pypi_0 pypi pyqt5-qt5 5.15.2 pypi_0 pypi pyqt5-sip 12.11.0 pypi_0 pypi pyqtchart 5.12 pypi_0 pypi pyqtgraph 0.12.4 pypi_0 pypi pyqtwebengine 5.12.1 pypi_0 pypi (cp_test) ben@ben-desktop:/media/ben/Analysis/Python/ImageAnalysis_pipeline$ pip list | grep pyqt pyqtgraph
Thanks in advance for the help.
BenHi and welcome to devnet,
You should test the conda version of PyQt5.
Otherwise, I would recommend that you contest the authors of PyQt to see if they are aware of that issue.