python 3.6.10 opensuse tumbleweed linux 5.8.4 An old program based on Python (BackInTime) has recently been having difficulties functioning. See below.
Module PyQt5 is most definitely installed. Apparently there is more to getting modules loaded than there used to be. (Also, I am not familiar with Python.) ----[ error message (verbose option) ]---- Traceback (most recent call last): File "/home/jmoe/diy/backintime-master/qt/app.py", line 35, in <module> import qttools File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/home/jmoe/diy/backintime-master/qt/qttools.py", line 21, in <module> from PyQt5.QtGui import (QFont, QColor, QKeySequence) File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 941, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked ModuleNotFoundError: No module named 'PyQt5' ----[ end ]---- ----[ the 1st code lines causing the above ]---- qttools.py: import os import sys import gettext from PyQt5.QtGui import (QFont, QColor, QKeySequence) <<<-- line 21 ... app.py: import os import sys if not os.getenv('DISPLAY', ''): os.putenv('DISPLAY', ':0.0') import datetime import gettext import re import subprocess import shutil import signal from contextlib import contextmanager from tempfile import TemporaryDirectory import qttools <<<--- line 35 qttools.registerBackintimePath('common') ... ----[ end ]---- -- James Moe jmm-list at sohnen-moe dot com Think. -- https://mail.python.org/mailman/listinfo/python-list