I just installed
python-mode using melpa and therefore I must be on the latest version.
.emacs init file consists only of the following lines :
(autoload 'python-mode "python-mode" "Python Mode." t) (add-to-list 'auto-mode-alist '("\\.py\\'" . python-mode)) (add-to-list 'interpreter-mode-alist '("python" . python-mode))
I try to execute a program that runs fine in the terminal, but when I hit
C-c C-c, ie.
py-execute-buffer, there's the following error:
py-choose-shell-by-path: Wrong number of arguments: #[nil
followed by a trail of gibberish:
py-shell will result in the similar error message.
Emacs v24.5 OS X Yosemite 10.10.4