程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

gyp ERR! stack Error: Can‘t find Python executable “D:\Python27“, you can set th e PYTHON env variab

編輯:Python

As the title , There are many solutions online , Mainly python To be converted into 2.7, You can't 3.0 Of ,

Or perform npm install --global --production windows-build-tools.

 

If that doesn't work ... Check environment variables , My question is , The environment variable is set in the user group , Not set in system variable .

Be careful !! Set system variables , Non user variables

 

 

to update 2: A similar problem was found during the installation again today ,scrypt Unable to install  

npm install -g node-gyp

 

Reference website

https://stackoverflow.com/questions/48095296/unable-to-install-node-js-package-scrypt-using-npm-on-windows


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved