No module named ‘distutils’ but also ‘requirement already satisfied:setuptools in ./.venv/lib/python3.12/site-packages (72.1.0)
I’ve been having some trouble with the error ModuleNotFoundError: No module named 'distutils'
. Online I’ve seen more questions about this and the advice was to use pip install setuptools
or brew install python-setuptools
. I’ve tried both, but I keep getting the ModuleNotFound error. When I check, the module is installed: Requirement already satisfied: setpuptools in ./.venv/lib/python3.12/site-packages (71.1.0).