From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?q?S=F6nmez_Kartal?= Newsgroups: gmane.emacs.help Subject: Re: Inferior Python Mode Date: Tue, 07 Aug 2007 15:58:40 -0000 Organization: http://groups.google.com Message-ID: <1186502320.612744.276080@b79g2000hse.googlegroups.com> References: <1186468524.632048.212200@d30g2000prg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1186513298 7721 80.91.229.12 (7 Aug 2007 19:01:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Aug 2007 19:01:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 07 21:01:35 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IIUJ2-0000Gr-SU for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Aug 2007 21:01:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IIUIx-0004h6-3P for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Aug 2007 15:01:19 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!b79g2000hse.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: 88.235.203.145 Original-X-Trace: posting.google.com 1186502320 7644 127.0.0.1 (7 Aug 2007 15:58:40 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 7 Aug 2007 15:58:40 +0000 (UTC) In-Reply-To: <1186468524.632048.212200@d30g2000prg.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20061201 Firefox/2.0.0.6 (Ubuntu-feisty),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: b79g2000hse.googlegroups.com; posting-host=88.235.203.145; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.help:150809 X-Mailman-Approved-At: Tue, 07 Aug 2007 15:01:05 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:46385 Archived-At: On 7 A ustos, 09:35, Matt 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