Connecting Tech Pros Worldwide Help | Site Map

Enthought Python + Cygwin

RMJ
Guest
 
Posts: n/a
#1: Jul 18 '05
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


Jason Tishler
Guest
 
Posts: n/a
#2: Jul 18 '05

re: Enthought Python + Cygwin


Roger,

On Tue, Jun 15, 2004 at 10:32:14AM -0700, RMJ wrote:[color=blue]
> 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.[/color]

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

RMJ
Guest
 
Posts: n/a
#3: Jul 18 '05

re: Enthought Python + Cygwin


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" <jason@tishler.net> wrote in message
news:mailman.15.1087334003.21521.python-list@python.org...[color=blue]
> Roger,
>
> On Tue, Jun 15, 2004 at 10:32:14AM -0700, RMJ wrote:[color=green]
> > 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.[/color]
>
> 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
>[/color]


Jason Tishler
Guest
 
Posts: n/a
#4: Jul 18 '05

re: Enthought Python + Cygwin


Roger,

On Tue, Jun 15, 2004 at 05:40:49PM -0700, RMJ wrote:[color=blue]
> Adding a line Set CYGWIN="notty" in the Cygwin-Tcsh.bat file now
> enables me to run Enthought python. Thank you for your help![/color]

You are quite welcome.
[color=blue]
> I like this version because it has the Scipy packages, etc
> pre-installed.[/color]

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

Closed Thread