Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sun, 14 Dec 2003 18:33:32 -0500 From: Jason Tishler To: cygwin AT cygwin DOT com Subject: Re: Problem with sys.executable in python. Message-ID: <20031214233332.GA556@tishler.net> Mail-Followup-To: cygwin AT cygwin DOT com References: <200312141743 DOT hBEHhHDG011268 AT mx1 DOT cs DOT umb DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200312141743.hBEHhHDG011268@mx1.cs.umb.edu> User-Agent: Mutt/1.4i John, On Sun, Dec 14, 2003 at 12:43:17PM -0500, John P. Rouillard wrote: > Can somebody with anup to date python please run the following program > interactively: > > import sys > print sys.executable > > When I run this, sys.executable returns the current working directory, > not /usr/bin/python. WFM: $ pwd /tmp $ python -c 'import sys; print sys.executable' /usr/bin/python > [snip] > > cygcheck -c cygwin python shows: > > Package Version Status > cygwin 1.5.5-1 OK > python 2.3.2-1 OK FWIW, I have the following packages installed: $ cygcheck -cd cygwin python Cygwin Package Information Package Version cygwin 1.5.5-1 python 2.3.2-1 Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/