You are not logged in.
Hi, my deluge daemon failed to restart after 'pacman -Syu' this morning.
This appears to be bacause deluge package could no longer be imported. Fair enough I would just build and install it again from the git repo.
This fails:
/home/anselm/repos/deluge/setup.py:18: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils import cmd
WARNING: The wheel package is not available.
/usr/bin/python: No module named pip
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/setuptools/installer.py", line 75, in fetch_build_egg
subprocess.check_call(cmd)
File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpqhu5je97', '--quiet', 'wheel']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/**/repos/deluge/setup.py", line 562, in <module>
setup(
File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 152, in setup
_install_setup_requires(attrs)
File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 147, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 785, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 766, in resolve
dist = best[req.key] = env.best_match(
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1051, in best_match
return self.obtain(req, installer)
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1063, in obtain
return installer(requirement)
File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 844, in fetch_build_egg
return fetch_build_egg(self, req)
File "/usr/lib/python3.10/site-packages/setuptools/installer.py", line 77, in fetch_build_egg
raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command '['/usr/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpqhu5je97', '--quiet', 'wheel']' returned non-zero exit status 1.
Can someone please advise? It looks as though deluge is using distutils which is removed now.
Cheers
Last edited by pjlbyrne (2021-12-14 07:31:48)
Offline
I installed python-wheel and python-setuptools & python-wheel that fixed it.
Offline
Please remember to mark your thread [SOLVED] (edit the title of your first post).
Offline