--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: python-pyqt5: import PyQt5.QtCore fails
- From: Scott Kitterman <debian@kitterman.com>
- Date: Sun, 15 Apr 2018 00:59:12 -0400
- Message-id: <20180415045912.18573.48689.reportbug@kitterma-E6430>
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
--- End Message ---