ModuleNotFoundError: No module named 'distutils.cmd' [Fix ✔️]
How to resolve ModuleNotFoundError: No module named ‘distutils.cmd’ Check which version of python you are using Run python –version Check if pip can find dist tools for you version of python Python 3.9 example: python3.9 -m pip --version Install dist tools for your version of python Example for python 3.9 on Ubuntu/Debian: sudo apt install python3.9-distutils I got this error today with AWS SAM: ModuleNotFoundError: No module named ‘distutils.cmd’, here is how I fixed it....