帮看一下安装报错那么多,是什么原因

缺少依赖,你可以使用docker compose 命令启动也可以

用这个命令"docker compose"又说找不到这个命令,只能用“docker-compose这个命令,是我的docker版本太低还是什么原因?ubuntu我装的24.0的版本。

raceback (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-c

File “/usr/bin/docker-compose”, line 25,in importlibentry pointreturn next(matches) .load()RARARRRRRRRARAAAAANR

File “/usr/lib/python3.12/importlib/metadata/ init _.py”, line 205, in loadmodule = import module(match.group( ‘module’))AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

File “/usr/lib/python3.12/importlib/ init .py”, line 90, in import modulereturn bootstrap. gcd import(name[level:], package, level)人AA人入人人人人人人人人人人人人人入人人人人人人人人人人人人人人人人人人人人人人人人人人人人AAA人A

File “”, line 1387, in gcd importFile “”,line 1360, in find and oad

File “”, line 1331, in find and load unlocked

File “”, line 935, in load unlocked

File “”, line 995, in exec moduleFile “”, line 488, in call with frames removedFile “/usr/lib/python3/dist-packages/compose/cli/main.py”, line 9, in from distutils.spawn import find executable

ModuleNotFoundError: No module named 'distutils

pip3 install setuptools