Problem description
Error: Can't find Python executable “python”, you can set the PYTHON env variable.
Solution
1. Install windows-build-tools under administrator authority
npm install --global --production windows-build-tools
reference:
https://github.com/nodejs/node-gyp
If you continue to report errors
Error: Can't find Python executable "python", you can set the PYTHON env variable.
You need to install Python and configure environment variables.
Download Python official website:
https://www.python.org/downloads/release/python-2718/
Reference:
https://blog.csdn.net/lyj_viviani/article/details/51763101