Connecting Tech Pros Worldwide Help | Site Map

Enthought Python + Cygwin

  #1  
Old July 18th, 2005, 12:52 PM
RMJ
Guest
 
Posts: n/a
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


  #2  
Old July 18th, 2005, 12:52 PM
Jason Tishler
Guest
 
Posts: n/a

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

  #3  
Old July 18th, 2005, 12:52 PM
RMJ
Guest
 
Posts: n/a

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]


  #4  
Old July 18th, 2005, 12:53 PM
Jason Tishler
Guest
 
Posts: n/a

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
which windows python to use? Brian Blais answers 15 May 12th, 2006 11:15 PM
Simple Tkinter app works in Linux, not in Windows john.orlando@gmail.com answers 4 February 10th, 2006 04:45 PM
Running DOS App on win32 via python over ssh James Stroud answers 3 January 18th, 2006 12:25 AM
Matlab, GUIs and Cygwin Jay Eichelberger answers 1 July 18th, 2005 06:37 AM