[Node]報錯:gyp verb check python checking for Python executable "python2" in the PATH


轉自:https://www.cnblogs.com/Wilson6/p/12055389.html

gyp verb check python checking for Python executable "python2" in the PATH

 

缺少python2.7支持 可快速使用以下語句完成安裝

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

到時候會自動下載python的

如果timeout報錯 請檢查代理設置,按如下設置下吧

nmp config set proxy http://1.1.1.1

nmp config set https-proxy http://1.1.1.1

 

npm install的時候遇到這個問題,方法親測有效。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM