470,648 Members | 1,608 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,648 developers. It's quick & easy.

Python 2.3.4 hangs when run from modern cygwin/bash in WinXP, but is otherwise fine

I just installed a Python 2.3.4 Windows binary on a friend's WinXP
machine (because the latest Cygwin-provided Python 2.3 build leaves
out the winsound module for some reason).

When I try and run this newly installed Python from bash it just hangs
(no version message, no prompt, CPU is idle). When I run it from IDLE,
or the DOS CMD prompt, it runs fine. Also, Python scripts using the
new version run fine, even invoked on the bash command line. It seems
there's some problem with terminal i/o when invoked from bash.

However, using this same installer, Python 2.3.4 runs fine on my WinXP
machine (though mine is using an older version of cygwin).

Meanwhile, his cygwin-provided Python 2.3 runs fine from bash.

I haven't been able to figure out what's wrong. Does anyone have any
suggestions?

Thanks kindly in advance!

Eric Woudenberg
Jul 18 '05 #1
2 2807
Eric Woudenberg wrote:
I just installed a Python 2.3.4 Windows binary on a friend's WinXP
machine (because the latest Cygwin-provided Python 2.3 build leaves
out the winsound module for some reason).

When I try and run this newly installed Python from bash it just hangs
(no version message, no prompt, CPU is idle). When I run it from IDLE,
or the DOS CMD prompt, it runs fine. Also, Python scripts using the
new version run fine, even invoked on the bash command line. It seems
there's some problem with terminal i/o when invoked from bash.

However, using this same installer, Python 2.3.4 runs fine on my WinXP
machine (though mine is using an older version of cygwin).

Meanwhile, his cygwin-provided Python 2.3 runs fine from bash.

I haven't been able to figure out what's wrong. Does anyone have any
suggestions?

Thanks kindly in advance!

Eric Woudenberg


Yes, set CYGWIN=notty and then run python -i (to force it into
interactive mode)

David
Jul 18 '05 #2
Eric,

On Fri, Jun 18, 2004 at 06:07:43PM -0700, Eric Woudenberg wrote:
I haven't been able to figure out what's wrong. Does anyone have any
suggestions?


See the attached.

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

Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Jorgen Grahn | last post: by
2 posts views Thread by John Dalberg | last post: by
1 post views Thread by JQA Academia | last post: by
1 post views Thread by Korara | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.