Use Emacs(aquamacs) With Python 3.2
Solution 1:
Python 3 does not have execfile()
, so your emacs simply doesn't support Python 3.
Solution 2:
This is a longer answer, as I had to look into it.
Python 3 will need to be installed on your system. I already installed HomeBrew, so this involved
$ brew install python3
. You can install with other methods as well.I use a virtualenv for Python 3. I make a virtualenv by using the
virtualenv -P python3 myproj
Aquamacs lets youM-x virtualenv-activate
to set it.There were problems in the
python-mode.el
file, a lisp file hiding down in your/Applications/Aquamacs.app/Contents/Resources/lisp/aquamacs/edit-modes/python-mode
. Andreas Roehler patched the bug. If the main python-mode page is still on version 6.1.2, you download a newpython-mode.el
here and copy it over your existing version.
Now it should work.
Post a Comment for "Use Emacs(aquamacs) With Python 3.2"