I would like to be able to start Python 3 and ipython from Emacs in an inferior mode buffer. Currently start interpreter C-c C-p starts 2.7. I know there must be a way to change to start another python environment.

  • «C-u C-c C-p» should allow you to edit the command-line
    – Rusi
    Commented Feb 6, 2020 at 0:59
  • the solution from Rusi works :-)
    – Stephen
    Commented Feb 20, 2020 at 19:59

1 Answer 1


Customize python-shell-interpreter to something else than python.

  • it does not work. I changed the binding in file python.el and it still runs the python 2.7 with C-c C-p
    – Stephen
    Commented Feb 20, 2020 at 19:58
  • That's not the meaning of "Customize". You have to use M-x customize-variable for that. While editing the source file can be made to work, it's a bad idea.
    – wasamasa
    Commented Feb 20, 2020 at 21:12

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.