curses is not imported under Linux (and Python 2.4)
Steve Holden
steve at holdenweb.com
Thu Jan 6 11:56:34 EST 2005
Konrad Koller wrote:
> import curses
> produces the ImportError: No module named _curses
> ("from _curses import *" in line 15 in __init__.py)
> Of course imp.find_module ("_curses") reports the same error.
> How can I make use of the curses package for writing a Python script
> with curses?
I get the same thing under Windows: _curses is the compiled extension
supporting the curses library, so I must presume that isn't supported by
default on Windows.
No problems under Cygwin or on Linux.
Googling for "python curses windows" might provide a few pointers.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
More information about the Python-list
mailing list