This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with sys.executable in python.


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]