Bug#891631: kdevelop-python: KDevelop Python with Qt default example doesn't run
Package: kdevelop-python
Version: 5.0.3-1
Severity: normal
Dear Maintainer,
python-pyqt5 should be a dependency of kdevelop-python in my opinion.
After installed the kdevelop-python package I tried to create a python
project with qt graphic interface. In the second line of the file
automatically created there is "from PyQt5 import QtWidgets" but the
PyQt5 is not installed.
Trying to run the program:
$ python TesteKDevelopPython.py
Traceback (most recent call last):
File "TesteKDevelopPython.py", line 2, in <module>
from PyQt5 import QtWidgets
ImportError: No module named PyQt5
After installing python-pyqt5 the program correctly run.
-- System Information:
Debian Release: 9.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8),
LANGUAGE=pt_BR:pt:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages kdevelop-python depends on:
ii kdevelop 4:5.0.3-1+b1
ii kdevelop-python-data 5.0.3-1
ii kdevplatform10-libs 5.0.3-1
ii kio 5.28.0-2
ii libc6 2.24-11+deb9u1
ii libkf5configcore5 5.28.0-2
ii libkf5coreaddons5 5.28.0-2
ii libkf5i18n5 5.28.0-2
ii libkf5kiowidgets5 5.28.0-2
ii libkf5parts5 5.28.0-1
ii libkf5texteditor5 5.28.0-2
ii libkf5threadweaver5 5.28.0-1+b2
ii libkf5widgetsaddons5 5.28.0-3
ii libkf5xmlgui5 5.28.0-1
ii libpython3.5 3.5.3-1
ii libqt5core5a 5.7.1+dfsg-3+b1
ii libqt5gui5 5.7.1+dfsg-3+b1
ii libqt5widgets5 5.7.1+dfsg-3+b1
ii libstdc++6 6.3.0-18+deb9u1
ii python3.5 3.5.3-1
Versions of packages kdevelop-python recommends:
ii pycodestyle 2.2.0-2
ii python-autopep8 0.9.1-2.1
Versions of packages kdevelop-python suggests:
pn kdevelop-python-l10n <none>
-- no debconf information
Reply to: