Error: Can’t find Python executable “python”, you can set the PYTHON env variable. [Install the dependencies after pulling down the code]

Drop down the code and install the dependency. Finally, error: can’t find Python executable “Python”, you can set the python env variable

report errors:

Solution:

Input: npm install --global --production windows-build-tools

but report another error: Please restart this script from an administrative PowerShell!
The build tools cannot be installed without administrative rights.
To fix, right-click on PowerShell and run “as Administrator”

Solution:
Run cmd as administrator and type the above command again

Done!

Similar Posts: