ModuleNotFoundError: No module named 'distutils.util'
ModuleNotFoundE
pip --version
pip 23.0.1 from /usr/lib/
sudo apt-get install python3-distutils
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-distutils is already the newest version (3.11.2-2).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
sudo apt-get install python3-apt
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-apt is already the newest version (2.5.3ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
sudo apt-get install --reinstall python3-distutils
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
Need to get 0 B/130 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 255786 files and directories currently installed.)
Preparing to unpack .../python3-
Unpacking python3-distutils (3.11.2-2) over (3.11.2-2) ...
Setting up python3-distutils (3.11.2-2) ...
sudo apt-get install --reinstall python3-apt
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
Need to get 0 B/163 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 255786 files and directories currently installed.)
Preparing to unpack .../python3-
Unpacking python3-apt (2.5.3ubuntu1) over (2.5.3ubuntu1) ...
Setting up python3-apt (2.5.3ubuntu1) ...
and i still get the same error: no module named 'distutils.util'
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply: