ModuleNotFoundError: No module named ‘distutils.cmd’ [Fix ✔️]
I got this error today with AWS SAM: ModuleNotFoundError: No module named ‘distutils.cmd’, here is how I fixed it. Keep reading below for more details. Quick Fix for ModuleNotFoundError: No module named ‘distutils.cmd’ The issue for me was pip, which comes with distutils, wasn’t installed for python 3.9, which is what AWS SAM was trying … Read more