Noble: ModuleNotFoundError: No module named 'distutils'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
docker-compose (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
After an upgrade of my server from Jammy to Noble, I get
```
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/bin/
return next(matches)
File "/usr/lib/
module = import_
File "/usr/lib/
return _bootstrap.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "/usr/lib/
from distutils.spawn import find_executable
ModuleNotFoundE
```
I suspect this is missing a dependency declaration?
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: docker-compose 1.29.2-6ubuntu1
ProcVersionSign
Uname: Linux 6.8.0-31-generic x86_64
ApportVersion: 2.28.1-0ubuntu2
Architecture: amd64
CasperMD5CheckR
Date: Thu Apr 25 15:32:27 2024
PackageArchitec
SourcePackage: docker-compose
UpgradeStatus: Upgraded to noble on 2024-04-25 (0 days ago)
Not sure if this is the right package, but installing `python3- distutils- extra` seems to fix the issue, but now I'm running into a different problem (https:/ /bugs.launchpad .net/ubuntu/ +source/ docker- compose/ +bug/2056735) so I'm not absolutely sure.