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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.