1

I am new to emacs. I installed emacs24 which has a built-in python mode(python.el). I cannot find this file and don't know how to configure it to use python3 shell (it's using python2.7 as default). Thannks

1
  • One way to find it is to do M-x customize-group RET python RET. Commented May 25, 2014 at 19:39

1 Answer 1

4
M-x customize-variable RET python-shell-interpreter RET

Set it to python3. Afterwards M-x run-python RET should open a Python3 shell.

If not working yet, check $PATH, make sure the directory holding python3 executable appears.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.