Unable to complete whipper drive analyze
whipper installed in Ubuntu 24.04 LTS using apt. When running whipper drive analyze, I receive the following output:
[pmblank@pmblank-ThinkCentre-M910q ~]$ whipper drive analyze
Traceback (most recent call last):
File "/usr/bin/whipper", line 33, in <module>
sys.exit(load_entry_point('whipper==0.10.0', 'console_scripts', 'whipper')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/whipper", line 25, in importlib_load_entry_point
return next(matches).load()
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 205, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/whipper/command/main.py", line 10, in <module>
from distutils.sysconfig import get_python_lib
ModuleNotFoundError: No module named 'distutils'
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing instructions.
I also ran the WHIPPER_DEBUG and it produced an empty archive.
@pmblank I have not run into this issue myself as I use whipper on fedora, distutils used to be available via apt. However it appears to have been deprecated. You could try to install this "sudo apt install python3-setuptools", as setuptools shoud, for now, come bundled with distutils. Alternatively you could get the source code and try to build it from source yourself, either using python3.11 or installing setuputils via pip.
@C600K3D setup tools is already the newest version in Ubuntu but I appreciate the suggestion. I was actually able to install python3-distutils-extra which resolved that issue. Now I have a new problem where it won't successfully rip a CD that's more than a handful of tracks. It ripped a 5 song EP but not a 10 song album.