Am 22.11.2011 19:41, schrieb Richard Llewellyn:
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."


We just detect - :)

Well, need some detailed info what you tried to do and what error you got.

Please make an entry at

https://bugs.launchpad.net/python-mode

Does M-x python3 RET

give you a Python3 shell?

When a command fails, please do

M-x report-emacs-bug RET

and send the output to the tracker

Thanks,

Andreas




Thanks much for all your great work!




_______________________________________________
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode

_______________________________________________
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode

Reply via email to