Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using a nightly build of 24 from Emacs For OS X on OS X 10.7. After loading in my script everything works fine, except when I click "Start interpreter" from the menu bar Emacs starts the default 2.7 interpreter and fails to run my scripts written in Python 3.2. Is there any way to customize it, so that it starts the 3.2 interpreter?

I've tried (setq py-python-command "python3") in my .emacs, but it still starts the default 2.7.

share|improve this question
Have you tried using a fully qualified path to your python interpreter? – OldWolf Oct 15 '11 at 2:45
yes; doesn't help. I can do M-x shell then python3.2, but evaluating scripts in python-mode always brings up the 2.7 interpreter. – idclark Oct 15 '11 at 4:02

M-x python3

should do it.

if not, please get latest source:

if still not working, please file a bug report at

share|improve this answer

You may want to look at the posts here on Stack Overflow It looks like someone had a similar problem (though they wanted to be able to switch between interpreters.)

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .