[Pkg-netmeasure-discuss] Bug#987656: flent-gui fails to start (ModuleNotFoundError: No module named 'qtpy')

Jaycee Santos jlsantos at protonmail.com
Tue Apr 27 08:13:18 BST 2021


Package: flent
Version: 2.0.0-2
Severity: important
X-Debbugs-Cc: jlsantos at protonmail.com

flent-gui fails to start. I expected a window to appear but nothing happens.

Running 'flent --gui --verbose --debug-error' outputs the following:

Started Flent 2.0.0 using Python 3.9.2.
ERROR: Unable to find a usable Qt version.
Traceback (most recent call last):
  File "/usr/share/flent/flent/gui.py", line 68, in <module>
    import qtpy
ModuleNotFoundError: No module named 'qtpy'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/flent/flent/__init__.py", line 55, in run_flent
    from flent.gui import run_gui
  File "/usr/share/flent/flent/gui.py", line 93, in <module>
    raise RuntimeError("Unable to find a usable Qt version.")
RuntimeError: Unable to find a usable Qt version.


After doing a quick search for 'qtpy', I came across the python3-qtpy
package and installed it. flent-gui now starts as expected.



-- System Information:
Debian Release: 11.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-6-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages flent depends on:
ii  libjs-sphinxdoc  3.4.3-2
ii  python3          3.9.2-3

Versions of packages flent recommends:
ii  iputils-ping [ping]  3:20210202-1
ii  irtt                 0.9.0-2+b14
ii  python3-matplotlib   3.3.4-1
ii  python3-pyqt5        5.15.2+dfsg-3

Versions of packages flent suggests:
ii  netperf  2.7.0-0.1

-- no debconf information



More information about the Pkg-netmeasure-discuss mailing list