[Python-mode] python 3 series not detected or

Richard Llewellyn llewelr at gmail.com
Tue Nov 22 19:41:10 CET 2011


I have just switched to Python 3.2 and am having problems with interpreter
(NameError: name 'execfile' is not defined.)  I see this was topic of Bug
450552, and in python_mode.el seems to be dealt with by defun
py-which-execute-file-command.  Unfortunately I don't get far with Lisp so
I am not working through the issue.  Failure may be related to use of
virtualenv, but happens outside any virtualenv as well where I forcing
emacs to use python3 with (setq python-python-command "/usr/bin/python3").
Right now I am looking for an easy fix -- is there a variable I can set to
manually define the version?
BTW I don't see the error message "Could not detect Python on your system."

Thanks much for all your great work!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-mode/attachments/20111122/cffbb3e9/attachment.html>


More information about the Python-mode mailing list