473,563 Members | 2,856 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 7355
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******** *************** **************@ python.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
5784
by: Jörg Maier | last post by:
Hey guys, i have a big problem using Tkinter and pexpect in cygwin. i try to program an winscp-like rsync Program for all posix Platforms (linux, macosx, cygwin). i got a class SslConnection with a method listDirectory that gives back a list of an remote directory using pexpect. this method works in linux, it works in cygwin-python from...
4
2408
by: Andreou Giannis | last post by:
Allthough it is possible to build modules in Python2.3.3 and distutils with cygwin, by running: setup.py build --compiler=cygwin (after i created the libpython23.a) running: setup.py install afterwards, complains about not building with msvs v.6, since my Python distribution is built with it.
0
2021
by: Adam McCarthy | last post by:
I'm trying to get a cross compiler working for arm-wince-pe. This is the output for the primes Pyrex example. If I compile simple Hello, World's etc, it works fine, but for some reason Python libraries/headers seem to produce this. I have libpython2.3.a in /usr/local/lib/gcc-lib/arm-wince-pe/3.3.3/../../../../arm-wince-pe/lib/ and...
1
1547
by: Oh Kyu Yoon | last post by:
Hi! I have been using the python 2.3.3 distribution from Enthought Inc because it has most of the libraries I use included. Does anyone know when Enthought will release the python 2.4 distribution? Thanks. Ohkyu
2
3678
by: Ash | last post by:
Hello everyone ! I am trying to find some sort of a cookbook or more examples for using Enthought Traits to build GUI's. I tried to follow the documentations present at the enthought site, but couldnt get too far - especially on how to handle a control event ? Also while i am on the topic: say i have a list "control" that create using...
9
2480
by: Endless Story | last post by:
My last version of Python was 2.4, running smoothly on XP with path c: \Python24 - no need even to include this path in PATH; everything worked as it's supposed to at the command line. Just installed Python 2.5, after uninstalling 2.4 (and also 2.3 which had lingered). Now if I open a shell in Windows Python is not available! Here are the...
6
3276
by: jadamwilson2 | last post by:
Hello, I have recently become interested in using python for scientific computing, and came across both sage and enthought. I am curious if anyone can tell me what the differences are between the two, since there seems to be a lot of overlap (from what I have seen). If my goal is to replace matlab (we do signal processing and stats on...
0
1424
by: Christopher Brewster | last post by:
I have always thought this idea very good, but if I download it and install it (on my MacBook pro) will any conflicts occur with existing bits and pieces of Python and its libraries? Thank you, Christopher Brewster ***************************************************** Department of Computer Science, University of Sheffield
0
1389
by: Guido van Rossum | last post by:
Hey Travis, Congratulations with this release! Are you guys thinking of Python 2.6 yet, now that it's been released? --Guido On Tue, Oct 21, 2008 at 2:53 PM, Travis Vaught <travis@enthought.comwrote:
0
7583
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7642
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6255
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2082
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.