[Python-modules-team] Bug#895718: python-pyqt5: import PyQt5.QtCore fails

Dmitry Shachnev mitya57 at debian.org
Sun Apr 15 11:26:50 BST 2018


Control: tags -1 unreproducible

On Sun, Apr 15, 2018 at 12:59:12AM -0400, Scott Kitterman wrote:
> Tried this on sid with both pyqt5 5.9.2 and 5.10.1:
>
> Unpacking python-pyqt5 (5.10.1+dfsg-1) over (5.9.2+dfsg-1+b1) ...
> Setting up python-pyqt5 (5.10.1+dfsg-1) ...
> # python
> Python 2.7.14+ (default, Apr  2 2018, 04:16:25)
> [GCC 7.3.0] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import PyQt5.QtCore
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: libQt5Core.so.5: cannot open shared object file: No such file or directory

Works for me in a clean sid chroot.

Can it be that you had a PyQt5 installation from PyPI which would conflict
with the distro package?

If not, please check strace output and look which libQt5Core.so.5 it tries
to load.

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20180415/112225f4/attachment.sig>


More information about the Python-modules-team mailing list