ImportError: No module named _curses ?
altis at semi-retired.com
Thu Jan 30 04:12:25 CET 2003
The curses module is not available on Windows, as you found out when you
tried to import it. The documentation should probably make that point.
"Ingo Linkweiler" <i.linkweiler at web.de> wrote in message
news:3E3861C4.8090609 at web.de...
> can you explain this import error?
> PythonWin 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)] on
> >>> import curses
> Traceback (most recent call last):
> File "<interactive input>", line 1, in ?
> File "C:\Python22\lib\curses\__init__.py", line 15, in ?
> from _curses import *
> ImportError: No module named _curses
> I am using Python with PythonWin (also tested all 2.2.* versions and
> Active Python on different machines with Win2K)
> I thought curses is included in the python distributions. What is missing?
> I only need some simple, but OS-independend functions like this
> c = readkey()
> Do you know any other module I can use?
More information about the Python-list