I probably don't know enough about these things to help, but when I used a PC at home, I always installed Cygwin to get Unix/Linux functionality. It works quite well in many cases.
Bob Wilson On Wed, 27 Apr 2011, Jason Manley wrote: > Howsit Peter > > This is complaining that the Python curses package (ncurses) is not > installed. This is used by "scroll" and is not realy used elsewhere in corr. > In general it is not needed other than for pretty screen printouts in the > corr scripts. It's a standard package in Linux (and Mac) so I got a little > lazy here. I am about to release 0.6.6 and will try'n change things so that > this isn't needed by default. > > However, I suspect that even without this dependancy, there will be other > standard packages either missing or with subtly different function calls. > This error is probably the first of many. I am willing to make quick, easy > changes to corr in order to get it working on Windows. But I don't actually > develop on Windows and so unless someone is willing to beta test every > version, I will not be able to maintain Windows compatibility. > > Jason > > On 27 Apr 2011, at 11:31, Peter McMahon wrote: > > > Hi everyone, > > > > Does anyone know if it is possible to get the ?corr? package to run on > > Windows, and if so, could you please provide some hints on how to achieve > > this? > > > > I am attempting to run a sample piece of Python code that uses ?corr?. I > > downloaded and installed corr from the tar.gz at > > http://pypi.python.org/pypi/corr, which suggested that it is ?OS > > Independent?. > > > > Unfortunately, when trying to execute this sample script, I get the > > following error: > > > > ---- > > Traceback (most recent call last): > > File "C:\LabControl\Peter\ROACH\adcsnap_updated.py", line 5, in <module> > > import matplotlib, corr, time, mkid, struct, numpy > > File "C:\Python26\lib\site-packages\corr\__init__.py", line 11, in > > <module> > > import cn_conf, katcp_wrapper, log_handlers, corr_functions, > > scroll,katadc,iadc > > File "C:\Python26\lib\site-packages\corr\scroll.py", line 10, in <module> > > import curses, sys > > File "C:\Python26\lib\curses\__init__.py", line 15, in <module> > > from _curses import * > > ImportError: No module named _curses > > ---- > > > > I spent a while trying to fix this, but some Googling revealed that at > > least as of a few years ago, there was no ?curses? support in Python for > > Windows. I started trying to integrate a Windows equivalent of curses, but > > realized that it wouldn?t perhaps be quite as easy to do as I had hoped. > > Hence from this e-mail I hope to learn about others? experiences with > > ?corr? on Windows before I go on. > > > > Thanks, > > Peter > > >

