PySide2extn icon indicating copy to clipboard operation
PySide2extn copied to clipboard

from PySide2 import QtWidgets, QtCore ImportError: /lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.15' not found (required by /usr/local/lib/python3.8/dist-packages/PySide2/libpyside2.abi3.so.5.15)

Open samannazz opened this issue 3 years ago • 3 comments

whenever i run your progress bar code. i get this error.
and if try to add round progress bar in my already developed code it cause same error. image

samannazz avatar Apr 07 '22 06:04 samannazz

I will check and let you know

On Thu, 7 Apr, 2022, 12:17 pm samannazz, @.***> wrote:

whenever i run your progress bar code. i get this error. and if try to add round progress bar in my already developed code it cause same error. [image: image] https://user-images.githubusercontent.com/89451747/162136852-89e4bcf1-97ba-417b-9cba-7b587b9783c6.png

— Reply to this email directly, view it on GitHub https://github.com/anjalp/PySide2extn/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/APETXL5PKQPVVX5VX2TLM6TVD2AIPANCNFSM5SYJ2N2A . You are receiving this because you are subscribed to this thread.Message ID: @.***>

anjalp avatar Apr 07 '22 07:04 anjalp

I will check and let you know

Have you check? please let me know. please create any pyqt5 project and import PySide2extn. and see if it shows any error.

samannazz avatar Apr 12 '22 14:04 samannazz

Solution: This is usually because there are multiple versions of the QT shared libraries on the system which are incompatible with each other. For instance, if an application installed from apt required Qt5, ubuntu would store the QT shared libraries in: /usr/lib/x86_64-linux-gnu/ Meanwhile, the PyPI installed PyQt5 stores QT shared libraries in: /lib/python/site-packages/PyQt5/Qt5/lib

The easiest solution to the import error is to ensure that ubuntu only finds PyPI’s shared QT5 libraries by modifying the system environment variable LD_LIBRARY_PATH.
this answer is copied by https://cbs-discourse.uwo.ca/t/vidi3d-import-error-involving-qt-libraries/46

samannazz avatar May 31 '22 09:05 samannazz