问题:在npm install 或 npm i中,有时候会爆出Error: Can't find Python executable "python", you can set the PYTHON env variable
问题解析:这是因为没有python的运行环境
解决办法:
npm install --global --production windows-build-tools
本文针对在使用npminstall或npmi过程中出现的Error:Can'tfindPythonexecutablepython问题进行了解析,并提供了解决方案,即通过设置全局环境变量来确保Python运行环境的存在。
问题:在npm install 或 npm i中,有时候会爆出Error: Can't find Python executable "python", you can set the PYTHON env variable
问题解析:这是因为没有python的运行环境
解决办法:
npm install --global --production windows-build-tools
您可能感兴趣的与本文相关的镜像
Python3.8
Python 是一种高级、解释型、通用的编程语言,以其简洁易读的语法而闻名,适用于广泛的应用,包括Web开发、数据分析、人工智能和自动化脚本
9187
2400
1万+
970
1698
1469
8万+
734

被折叠的 条评论
为什么被折叠?