Ubuntu server 22.04 LTS
I must have done something really wrong when an app I was trying to install
a few days ago insisted on running on Python 2. I installed some stuff
(don´t recall what) that made it work, but it appears to have broken the
other Python three apps that I have been using on the server.
Both `python` and `python3` seem to offer appropriate interactive
responses, but when I try to run `deluged` it responds with:
Traceback (most recent call last):
File "/usr/bin/deluged", line 33, in <module>
sys.exit(load_entry_point('deluge==2.1.1', 'gui_scripts', 'deluged')())
File "/usr/bin/deluged", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in
load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in
import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in
_find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in
_call_with_frames_removed
File "/usr/lib/python3/dist-packages/deluge/core/daemon_entry.py", line
15, in <module>
from deluge.argparserbase import ArgParserBase
File "/usr/lib/python3/dist-packages/deluge/argparserbase.py", line 16, in
<module>
import deluge.log
File "/usr/lib/python3/dist-packages/deluge/log.py", line 19, in <module>
from twisted.internet import defer
File "/usr/local/lib/python3.10/dist-packages/twisted/internet/defer.py",
line 40, in <module>
import attr
ModuleNotFoundError: No module named 'attr'
Another app, nzbdplus, reports that it's running properly (after `apt
reinstall`) but my usual pointing a browser to the web port 8080 doesn't
work (connection reset).
When I run it on the console it appears to work -- despite complaining
about certificates -- but won´t open for a browser on a local network
Any suggestions? Maybe the answer is obvious and I'm just overtired.
Many thanks for any help.
Evan Leibovitch, Toronto Canada
@evanleibovitch / @el56