ImportError: No module named _curses ?

Kevin Altis altis at semi-retired.com
Wed Jan 29 22:12:25 EST 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.

http://www.python.org/doc/current/lib/module-curses.html

ka

"Ingo Linkweiler" <i.linkweiler at web.de> wrote in message
news:3E3861C4.8090609 at web.de...
> Hi,
>
> can you explain this import error?
>
> PythonWin 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)] on
win32.
>  >>> 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()
> clearscreen()
> Do you know any other module I can use?
>
> Ingo
>






More information about the Python-list mailing list