ModuleNotFoundError: No module named 'distutils'
from distutils.version import StrictVersion
ModuleNotFoundError: No module named 'distutils'
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
Solution
$ pip install setuptools
Why?
Because distutils was removed as of Phyton 3.12.
https://docs.python.org/3.12/whatsnew/3.12.html
Recent Comments