Created attachment 733605 [details] emerge --info I'm not sure if it is an upstream bug or not. Every time I try to run `deluge` or `deluge-gtk` I get this error: Traceback (most recent call last): File "/usr/bin/deluge", line 33, in <module> sys.exit(load_entry_point('deluge==2.0.3', 'gui_scripts', 'deluge')()) File "/usr/bin/deluge", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load module = import_module(match.group('module')) File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 850, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/usr/lib/python3.9/site-packages/deluge/ui/ui_entry.py", line 22, in <module> import pkg_resources File "/home/ivo/.local/lib/python3.9/site-packages/pkg_resources.py", line 1479, in <module> register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider) AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
(In reply to Ivo Šmerek from comment #0) > Created attachment 733605 [details] > emerge --info > > I'm not sure if it is an upstream bug or not. Every time I try to run > `deluge` or `deluge-gtk` I get this error: > > Traceback (most recent call last): > File "/usr/bin/deluge", line 33, in <module> > sys.exit(load_entry_point('deluge==2.0.3', 'gui_scripts', 'deluge')()) > File "/usr/bin/deluge", line 25, in importlib_load_entry_point > return next(matches).load() > File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load > module = import_module(match.group('module')) > File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module > return _bootstrap._gcd_import(name[level:], package, level) > File "<frozen importlib._bootstrap>", line 1030, in _gcd_import > File "<frozen importlib._bootstrap>", line 1007, in _find_and_load > File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked > File "<frozen importlib._bootstrap>", line 680, in _load_unlocked > File "<frozen importlib._bootstrap_external>", line 850, in exec_module > File "<frozen importlib._bootstrap>", line 228, in > _call_with_frames_removed > File "/usr/lib/python3.9/site-packages/deluge/ui/ui_entry.py", line 22, in > <module> > import pkg_resources > File "/home/ivo/.local/lib/python3.9/site-packages/pkg_resources.py", line ^^^^^^^^^^^^^^^^ I "think" it's a conflict with some module in your home directory. Can you try with a "clean" user? > 1479, in <module> > register_loader_type(importlib_bootstrap.SourceFileLoader, > DefaultProvider) > AttributeError: module 'importlib._bootstrap' has no attribute > 'SourceFileLoader'
You are right, I didn't notice that. It works fine. Thank you.