错误:找不到Python可执行文件。。。(系统变量设置了python)当使用npminstall s时

2024-10-03 09:20:31 发布

您现在位置:Python中文网/ 问答频道 /正文

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

我得到的确切错误是:

gyp ERR! stack Error: Can't find Python executable ""C:\Users\Amazo\AppData\Local\Programs\Python\Python36-32\python.EXE "", you can set the PYTHON env variable.

但是,我确实在我的System variables中设置了PYTHON变量,因此我不确定我在这里做错了什么。在

enter image description here


Tags: npmstacklocal错误情况errorfindcan