Question(提问)
Steps to reproduce(问题复现步骤)
9594 error gyp ERR! configure error
9594 error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
9594 error gyp ERR! stack at PythonFinder.failNoPython (D:\王天矢\test\vue-element-admin\node_modules\node-gyp\lib\configure.js:484:19)
9594 error gyp ERR! stack at PythonFinder. (D:\王天矢\test\vue-element-admin\node_modules\node-gyp\lib\configure.js:509:16)
9594 error gyp ERR! stack at callback (D:\王天矢\test\vue-element-admin\node_modules\graceful-fs\polyfills.js:299:20)
9594 error gyp ERR! stack at FSReqCallback.oncomplete (fs.js:167:21)
9594 error gyp ERR! System Windows_NT 6.1.7601
9594 error gyp ERR! command "D:\Node.js\node.exe" "D:\王天矢\test\vue-element-admin\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
9594 error gyp ERR! cwd D:\王天矢\test\vue-element-admin\node_modules\canvas
9594 error gyp ERR! node -v v12.16.2
9594 error gyp ERR! node-gyp -v v3.8.0
9594 error gyp ERR! not ok
9595 verbose exit 1
Screenshot or Gif(截图或动态图)
Other relevant information(格外信息)
- Your OS:
- Node.js version:
- vue-element-admin version:
4条答案
按热度按时间wrrgggsh1#
是win7系统
ep6jt1vc2#
没有Python环境, 下载Python2.X版本
9njqaruj3#
请问解决了吗 我现在也是这个问题
vom3gejh4#
请问解决了吗 我现在也是这个问题
安装一下python环境。 2或者3都可以