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

Reply via email to