This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Problem with sys.executable in python.
- From: "John P. Rouillard" <rouilj at cs dot umb dot edu>
- To: cygwin at cygwin dot com
- Date: Sun, 14 Dec 2003 12:43:17 -0500
- Subject: Problem with sys.executable in python.
- Reply-to: rouilj at ieee dot org
Hi all:
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.
I just had to have my machine rebuilt from an image, and I have
already discovered that the restore doesn't preserve case, so things
were/are kind of goofy in my cygwin installation. I reinstalled python
and that cleaned up a lot of breakage.
cygcheck -c cygwin python shows:
Package Version Status
cygwin 1.5.5-1 OK
python 2.3.2-1 OK
Does anybody know of a way to get cycheck to check the case of
filenames/directories and report incorrect case as well? The brain
dead approach of
CYGWIN=check_case:strict cygcheck -c python
didn't work. Not that I really expected it to since cygcheck isn't
linked against cygwin1.dll
-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.
--
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/