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
import qttools
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/jmoe/diy/backintime-master/qt/qttools.py", line 21, in
from PyQt5.QtGui import (QFont, QColor, QKeySequence)
File "", line 971, in _find_and_load
File "", line 941, in _find_and_load_unlocked
File "", line 219, in _call_with_frames_removed
File "", line 971, in _find_and_load
File "", 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