help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inferior Python Mode


From: Sönmez Kartal
Subject: Re: Inferior Python Mode
Date: Tue, 07 Aug 2007 15:58:40 -0000
User-agent: G2/1.0

On 7 A ustos, 09:35, Matt <mcolemanfam...@gmail.com> wrote:
> I am a newbie with emacs and am trying to open an inferior python
> buffer. I have emacs 22.1.1 and python 2.5.1 on a windows xp system.
> Both work well indepenently from eachother (python in IDLE), however,
> when I type "M-x run-python" I get the message "Searching for program:
> no such file or directory, python". Can anyone give me a pointer on
> how to help emacs find and execute pyton?
>
> I at first thought I had to use the lisp command load-path in
> my .emacs file to help emacs find my Python directory but I have had
> no luck with that.
> (setq load-path (cons "C:\Python25" load-path))
>
> Anything would help, even a reference.

You might haven't add your Python directory to the PATH variable? Can
you run python with just saying "python" in the command line, if not
add it to your PATH then try again. It should run then... and Emacs
would find "python" too, I guess...

Happy coding



reply via email to

[Prev in Thread] Current Thread [Next in Thread]