470,849 Members | 1,440 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Enthought Python + Cygwin

RMJ
After installing Enthought's python and typing 'python' from within cygwin
the program hangs with no output. I do not remember this being the case
with earlier versions of Enthought python. Is this version not compatible
with cygwin? Or, is there some configuration file that needs changing? It
does run successfully with 'python somecode.py' -but without printing out
intermediate results.

Thanks!

-Roger Jones
Jul 18 '05 #1
3 7158
Roger,

On Tue, Jun 15, 2004 at 10:32:14AM -0700, RMJ wrote:
After installing Enthought's python and typing 'python' from within
cygwin the program hangs with no output. I do not remember this being
the case with earlier versions of Enthought python. Is this version
not compatible with cygwin? Or, is there some configuration file that
needs changing? It does run successfully with 'python somecode.py'
-but without printing out intermediate results.


There are some known "tty" issues when running native Win32 programs
under Cygwin. They typical manifest themselves under rxvt and (IIRC)
when CYGWIN=tty. Try using bash (instead of rxvt) and CYGWIN=notty.

BTW, Cygwin Python does not have any of these issues. If you don't need
any Win32 Python features, then you may want to use this version
instead.

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 #2
RMJ
Jason,

Adding a line Set CYGWIN="notty" in the Cygwin-Tcsh.bat file now enables me
to run Enthought python. Thank you for your help! I like this version
because it has the Scipy packages, etc pre-installed.

-Roger Jones

"Jason Tishler" <ja***@tishler.net> wrote in message
news:ma*************************************@pytho n.org...
Roger,

On Tue, Jun 15, 2004 at 10:32:14AM -0700, RMJ wrote:
After installing Enthought's python and typing 'python' from within
cygwin the program hangs with no output. I do not remember this being
the case with earlier versions of Enthought python. Is this version
not compatible with cygwin? Or, is there some configuration file that
needs changing? It does run successfully with 'python somecode.py'
-but without printing out intermediate results.


There are some known "tty" issues when running native Win32 programs
under Cygwin. They typical manifest themselves under rxvt and (IIRC)
when CYGWIN=tty. Try using bash (instead of rxvt) and CYGWIN=notty.

BTW, Cygwin Python does not have any of these issues. If you don't need
any Win32 Python features, then you may want to use this version
instead.

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
Roger,

On Tue, Jun 15, 2004 at 05:40:49PM -0700, RMJ wrote:
Adding a line Set CYGWIN="notty" in the Cygwin-Tcsh.bat file now
enables me to run Enthought python. Thank you for your help!
You are quite welcome.
I like this version because it has the Scipy packages, etc
pre-installed.


No problem. I mentioned Cygwin Python just in case CYGWIN=notty didn't
work.

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 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Jörg Maier | last post: by
4 posts views Thread by Andreou Giannis | last post: by
reply views Thread by Adam McCarthy | last post: by
1 post views Thread by Oh Kyu Yoon | last post: by
2 posts views Thread by Ash | last post: by
9 posts views Thread by Endless Story | last post: by
6 posts views Thread by jadamwilson2 | last post: by
reply views Thread by Christopher Brewster | last post: by
reply views Thread by Guido van Rossum | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.