I'm using a nightly build of Emacs.app 24 from Emacs For OS X on OS X 10.7. After loading in my foo.py
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.
M-x shell
thenpython3.2
, but evaluating scripts inpython-mode
always brings up the 2.7 interpreter.