小编Meh*_*hdi的帖子

吉普 错误!堆栈错误:命令失败:python -c import sys; 打印“%s.%s.%s”% sys.version_info[:3]

我正在尝试在 Vue 项目中进行 npm install,即使我只是运行 vue create (name) 它也会给我这个错误:

npm ERR! gyp verb check python checking for Python executable "c:\Python310\python.exe" in the PATH
npm ERR! gyp verb `which` succeeded c:\Python310\python.exe c:\Python310\python.exe
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Command failed: c:\Python310\python.exe -c import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack   File "<string>", line 1
npm ERR! gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
npm …
Run Code Online (Sandbox Code Playgroud)

python npm vue.js npm-install

10
推荐指数
2
解决办法
2万
查看次数

标签 统计

npm ×1

npm-install ×1

python ×1

vue.js ×1