This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Problem with sys.executable in python.
- From: Jason Tishler <jason at tishler dot net>
- To: cygwin at cygwin dot com
- Date: Sun, 14 Dec 2003 18:33:32 -0500
- Subject: Re: Problem with sys.executable in python.
- References: <200312141743.hBEHhHDG011268@mx1.cs.umb.edu>
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/