I'm trying the Python example from the org-babel website which looks the following:
#+begin_src python :session
def foo(x):
if x>0:
return x+1
else
return x-1
foo(1)
#+end_src
While invocing C-c C-c
I get the follwing error in the Minibuffer:
Searching for program: permission denied, python
I don't know why and how to fix it.
My current setup is the following: I'm runnig Windows 7 and cygwin. I've installed emacs via cygwin and stated it via emacs &
in cygwin. I already tried editing some variables inside emacs, without effect, such as: (setq python-python-command "c:/Python27/python.exe")