Control: tags -1 moreinfo Hi,
On Fri, Apr 03, 2020 at 11:40:26AM +0200, mathieu wrote: > I tried to run this sample code: > > #! /usr/bin/python3 > from PyQt5.QtCore import Qt > print("Hello") > > And I instantly get this error: > > Traceback (most recent call last): > File "./test-1.py", line 5, in <module> > from PyQt5.QtCore import Qt > ImportError: > /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-37m-x86_64-linux-gnu.so: > symbol _ZN23QOperatingSystemVersion11MacOSMojaveE version Qt_5 not defined in > file libQt5Core.so.5 > with link time reference It is strange, because this symbol is present in libqt5core5a since version 5.11.2+dfsg-1. Can it be that you have a custom Qt installation somewhere? E.g. from the Qt website or installed with some other package manager? Can you check where libQt5Core.so.5 points to in the output of this command? ldd /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-37m-x86_64-linux-gnu.so -- Dmitry Shachnev
signature.asc
Description: PGP signature