Closed thebear45800 closed 10 months ago
@thebear45800 Thanks for bringing it to my attention. I've never encountered this error because I was still using python 3.10 on my system.
Apparently the distutils
module has been removed in python 3.12 (and has been deprecated since 3.10): https://peps.python.org/pep-0632/
It's suggested that people use the setuptools
module instead, which contains a complete copy of distutils inside it. So doing a pip install setuptools
should fix the error. I'll also make sure to update the README.md
to include that module in the install steps.
Hello,
I'm trying to run any script but every scripts failed with error no module named distUtils.
Full stack error :
I tried to install distUtils with this command :
pip install distutils
But failed with :
ERROR: Could not find a version that satisfies the requirement distutils (from versions: none) ERROR: No matching distribution found for distutils
By searchong on internet, distutils seems to be deleted since Python 3.12
What can I do ?