美文网首页
stack Error: Can't find Python e

stack Error: Can't find Python e

作者: 神话降临 | 来源:发表于2018-07-04 15:14 被阅读0次

stack Error: Can't find Python executable, you can set the PYTHON env variable.
公司给换了电脑之前的项目 从公司的gitlab上拉下来,不知道为什么在npm install的时候报上面的错误,很尴尬,我是一个前端啊,
报了个电脑没有python环境
于是很尴尬的就装了一个python的版本,然而并没有什么卵用,
给我报了另外一个错误

Error: Can executable "C:\Users\pc\AppData\Local\Programs\Python\Python35\python.exe
着实蛋疼,百度了一下
说是换成python2.7的版本 ,换了之后重启一下就好了

image.png
变量值是python安装的目录
image.png
新增PYTHON_HOME
再把PYTHON_HOME加到path里面

相关文章

网友评论

      本文标题:stack Error: Can't find Python e

      本文链接:https://www.haomeiwen.com/subject/stbeuftx.html