[英]Error: Can't find Python executable “python”
SO, I've set python path as in ~/.profile 所以,我已经将python路径设置为〜/ .profile
export PYTHON=$PYTHON:/usr/bin/python
I'm getting. 我越来越。
stack Error: Can't find Python executable ":/usr/lib/python:/usr/lib/python3.5:/usr/lib/python3.5:/usr/bin/python3.5:/usr/bin/python", you can set the PYTHON env variable.
What will be the path to the executable python ? 可执行python的路径是什么?
Your tool seems to want the directory that might contain the executable named python
, not the full path to the executable. 您的工具似乎想要的目录可能包含名为
python
的可执行文件,而不是可执行文件的完整路径。 Try changing it to: export PYTHON=$PYTHON:/usr/bin
尝试将其更改为:
export PYTHON=$PYTHON:/usr/bin
Looks like your tool is likely node-gyp
or some other npm
related thing, in which case you might want to look at this question or this one if the problem persists. 看起来你的工具很可能
node-gyp
或其他一些npm
相关的事情,在这种情况下,你可能想看看这个问题,或者这个问题是否存在。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.