1

What's the matter with this bug:stack Error: Can't find Python executable "C:\Developments\Python27", you can set the PYTHON env variable. My project use node-gyp to build angular env. I have configured the python variables and the version is v2.7 ,what should I do to fix this error. ps. I have try many methods to solve this problem but none of them work

5
  • Explai what have you done so far and how you are getting the error. Commented Jun 29, 2017 at 8:52
  • ...and is "C:\Developments\Python27" really your Python folder (check for typos like 'Development' for example) Commented Jun 29, 2017 at 8:54
  • I have install vs 2015 and launch cmd npm config set msvs_version 2015,also ,I set python env variables and I can launch cmd in windows cmd, but i can't run this project successfully Commented Jun 29, 2017 at 9:24
  • gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "C:\Developments\Python27", you can set the PYTHON env variable. gyp ERR! stack at failNoPython (C:\Developments\Software\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:449:14) gyp ERR! stack at C:\Developments\Software\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:404:11 Commented Jun 29, 2017 at 9:27
  • [stackoverflow.com/questions/29368205/… similar to this question Commented Jun 29, 2017 at 9:44

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.