If you’re using Ubuntu 16.04, 18.04, 20.04 whether you upgraded or freshly installed and want to use a newer version of Python from 3.7 to 3.8 you have probably seen this error message ModuleNotFoundError: No module named 'distutils.util'.
bmcculley@hakk:~$ pip3 Traceback (most recent call last): File "/usr/local/bin/pip3", line 5, in <module> from pip._internal.cli.main import main File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/main.py", line 10, in <module> from pip._internal.cli.autocompletion import autocomplete File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/autocompletion.py", line 9, in <module> from pip.
Read more...