Hello friends! I’m trying to install Umbrel for the first time on Ubuntu 24.04 LTS, but there is no distutils dependency in the repositories. According to the official documentation, the distutils package is deprecated:
https://docs.python.org/3.12/whatsnew/3.10.html#distutils-deprecated
Is there any way to fix this error?
Thanks!
Error:
============= STARTING ===============
============== UMBREL ================
Setting environment variables…
Starting karen…
Starting status monitors…
Starting memory monitor…
Starting backup monitor…
Starting decoy backup trigger…
Starting umbreld…
Starting Docker services…
Traceback (most recent call last):
File “/usr/bin/docker-compose”, line 33, in
sys.exit(load_entry_point(‘docker-compose==1.29.2’, ‘console_scripts’, ‘docker-compose’)())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/bin/docker-compose”, 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 “”, line 1387, in _gcd_import
File “”, line 1360, in _find_and_load
File “”, line 1331, in _find_and_load_unlocked
File “”, line 935, in _load_unlocked
File “”, line 995, in exec_module
File “”, line 488, in _call_with_frames_removed
File “/usr/lib/python3/dist-packages/compose/cli/main.py”, line 9, in
from distutils.spawn import find_executable
ModuleNotFoundError: No module named ‘distutils’
Failed to start containers
Skipping status update when not on Umbrel OS