I get the following error when I try to open a python file in emacs:
can’t guess python indent offset, using defaults: 4
deferred error: (error searching for program: permission denied, python)
My assumption is that the python environment variable needs to be copied to the Emacs PATH variable, because I had to do the same thing for Mac OS X by using bradleywright's path.el script but now I need to do the same thing for Windows 7. How can I do this?
init.el
(load "~/.emacs.d/path.el")
(require 'package)
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/") t)
(package-initialize)
(require 'jedi)
(setq jedi:server-command
(list "C:/Python33/python.exe" jedi:server-script))
(add-hook 'python-mode-hook 'jedi:setup)
(setq jedi:complete-on-dot t)
(global-auto-complete-mode t)
(require 'ido)
(ido-mode t)
(add-to-list 'load-path "~/.emacs.d/elpa/magit-1.2.0/magit.el")
(require 'magit)
(require 'linum)
(global-linum-mode 1)