When installing a module that requires Python as a dependency it is common to get the error below on a Windows machine.
> MODULE@0.0.0 install C:...\...\node_modules\MODULE
> node-gyp configure build
C:...\...\node_modules\MODULE>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" configure build ) else (node "C:\Program
Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" configure build )