问题描述
起因我在逛一些项目的时候,输入npm i
全安装文件所需的依赖的时候,博主是使用 sass 去书写的,使用的是[email protected]和[email protected]的版本的,安装的时候老是出现错误
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (C:\Users\Admin\Desktop\github-demo\xiaochen\pupu_blog-master\pupu_blog-master\vue-blog-web\node_modules\node-gyp\lib\configure.js:484:19)
gyp ERR! stack at PythonFinder.<anonymous> (C:\Users\Admin\Desktop\github-demo\xiaochen\pupu_blog-master\pupu_blog-master\vue-blog-web\node_modules\node-gyp\lib\configure.js:509:16)
gyp ERR! stack at callback (C:\Users\Admin\Desktop\github-demo\xiaochen\pupu_blog-master\pupu_blog-master\vue-blog-web\node_modules\graceful-fs\polyfills.js:299:20)
gyp ERR! stack at FSReqCallback.