Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old July 18th, 2005, 12:52 PM
RMJ
Guest
 
Posts: n/a
Default Enthought Python + Cygwin

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
Default 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
Default 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
Default 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

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,248 network members.