博主最大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!
解决:
- win+R:打开cmd
- 不要回车,使用ctrl+shift+回车
0 已被阅读了1305次 楼主 2021-01-15 09:38:51