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

Scott Kitterman debian at kitterman.com
Sun Apr 15 05:59:12 BST 2018


Package: python-pyqt5
Version: 5.9.2+dfsg-1
Severity: grave
Justification: renders package unusable

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
>>>

I checked and libQt5Core.so.5 is installed at the expected location:

# ls -l /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
lrwxrwxrwx 1 root root 20 Apr  7 19:35 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 -> libQt5Core.so.5.10.1

# ls -l /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.1
-rw-r--r-- 1 root root 5224752 Apr  7 19:35 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.10.1

The same thing happenson python3 too:

Python 3.6.5 (default, Apr  1 2018, 05:46:30)
[GCC 7.3.0] on linux
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

Scott K



More information about the Python-modules-team mailing list