/usr/bin/env:python2:没有这样的文件或目录 [英] /usr/bin/env: python2: No such file or directory
本文介绍了/usr/bin/env:python2:没有这样的文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在Ubuntu上为Emacs配置Python,但出现以下错误:
I am trying to configure Python for my Emacs on Ubuntu, and I get the following error:
/usr/bin/env: python2: No such file or directory
有人可以帮我吗?我该怎么解决?
Can someone help me with it? What can I do to resolve it?
推荐答案
可能是正确的.链接/usr/bin/python2 -> (the real one)
应该由您的Python软件包提供,但事实并非如此,也不能在通过$PATH
可以找到它的任何其他位置.
Probably that's just true. The link /usr/bin/python2 -> (the real one)
should be provided by your Python package, but that's obviously not the case, nor on any other location where it can be found via the $PATH
.
您应将上述链接放在(一个)适当位置的路径中.
You should put the said link in your path at the (an) appropriate place.
这篇关于/usr/bin/env:python2:没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文