Running npm install throws node-gyp error ModuleNotFoundError: No module named 'distutils' in Python 3.12 (the default version on MacOS 12). The issue was fixed in the latest node-gyp releases. Please see https://github.com/nodejs/node-gyp/issues/2869 Thank you!
Running
npm install
throws node-gyp errorModuleNotFoundError: No module named 'distutils'
in Python3.12
(the default version on MacOS 12). The issue was fixed in the latestnode-gyp
releases. Please see https://github.com/nodejs/node-gyp/issues/2869 Thank you!