You can still use distutils on python 3. 12+ by installing setuptools. When that doesn't work, you may need stay on python < 3. 12 until the 3rd-party package (skfuzzy in this case) publishes an updated. However, on debian-based linux distributions like ubuntu, distutils is often packaged separately from the main python interpreter.

Are you running into the dreaded modulenotfounderror: No module named 'distutils. util' error in python 3. 12 or newer? You're not alone. In this clear and concise delftstack tutorial, we'll Encountering the modulenotfounderror: No module named 'distutils' can be a frustrating roadblock, especially when you're trying to execute a seemingly simple python script.

Encountering the modulenotfounderror: No module named 'distutils' can be a frustrating roadblock, especially when you're trying to execute a seemingly simple python script.