python.exe Syntax issue - NPM

后端 未结 2 1276
梦如初夏
梦如初夏 2021-01-11 21:03

I am having trouble when running Npm install. I get the following error:

gyp ERR! stack Error: Command failed: C:\\Users\\userxxx\\AppData\\Local\\Programs\         


        
2条回答
  •  心在旅途
    2021-01-11 21:57

    The command you are attempting to run uses Python 2 syntax. It is incompatible with Python 3, so if you try to use that, you should get a syntax error.

    Either upgrade the script to Python 3 (about time already), or fix the execution path so that it can be run with the obsolescent Python version.

提交回复
热议问题