python - 使用 npm-install --save 时出现错误 : Can't find Python executable . ..(系统变量已设置 python)

标签 python node.js windows npm npm-install

当我尝试安装 npm 包时会发生这种情况

我得到的确切错误是:

吉普错误!堆栈错误:找不到 Python 可执行文件“”C:\Users\Amazo\AppData\Local\Programs\Python\Python36-32\python.EXE "",可以设置PYTHON环境变量。

但是,我确实在我的系统变量中设置了PYTHON变量,所以我不确定我在这里做错了什么。

enter image description here

最佳答案

https://www.python.org/ 安装 python 2.x

在安装过程中,请确保勾选“添加到路径”选项。

关于python - 使用 npm-install --save 时出现错误 : Can't find Python executable . ..(系统变量已设置 python),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48172868/

相关文章:

c# - 检测文件是否被操作系统阻止

python - 使用 wxpython GUI 加密文件

windows - HDC 是否使用 alpha channel ?

python - 在 Python 中使用 Pandas 删除括号 () 并后处理数据帧时出现问题

node.js - Node https请求实际上是http

javascript - 我无法从 SugarJS 格式化日期

javascript - tick 的正确定义是什么?

php - 无法在 Windows 上安装 XDEBUG?

Python 从 json 打印所有内容

python - ForeignKey 默认值中 int() 错误的文字无效