百搜论坛欢迎您的加入!
adimg adimg
 
昨日:篇  今日:篇   总帖:篇   会员:
博主最大Lv63   
【vue】Error: Can‘t find Python executable “python“, you can set the PYTHON env variable.     

参考文章:Error: Can’t find Python executable “python”, you can set the PYTHON env variable.解决办法

问题描述: npm install 安装时报错

问题图片:
在这里插入图片描述
解决:
参考文章:Error: Can’t find Python executable “python”, you can set the PYTHON env variable.解决办法

方法一: 安装python环境,python必须是2.7
方法二: npm install --global --production windows-build-tools

在这里插入图片描述
报错: 应该以管理员身份运行cmd

Please restart this script from an administrative PowerShell!

解决:

  1. win+R:打开cmd
  2. 不要回车,使用ctrl+shift+回车
    在这里插入图片描述

本文链接: http://www.dtmao.cc/news_show_125724.shtml
 0  已被阅读了1305次  楼主 2021-01-15 09:38:51
回复列表

回复:【vue】Error: Can‘t find Python executable “python“, you can set the PYTHON env variable.

联系站长 友链申请桂ICP备19000949号-1     桂ICP备19000949号-1
您的IP:3.138.141.202,2024-04-19 19:47:12,Processed in 0.01526 second(s).
免责声明: 本网不承担任何由内容提供商提供的信息所引起的争议和法律责任。
Powered by HadSky 7.12.9
已有0次打赏
(0) 分享
分享
取消
免责声明
1、本站资源,均来自网络,版权归原作者,所有资源和文章仅限用于学习和研究目的 。
2、不得用于商业或非法用途,否则,一切责任由该用户承担 !
如果觉得本文还不错请点个赞或者打赏点轻币哦~
拒绝伸手党,拿走请回复,尊重楼主,尊重你我他~

侵权删除请致信 E-Mail:207882320@qq.com