ncurses python2.2.1

Sean Richards somebody at nowhere.com
Mon May 27 07:32:58 EDT 2002


Hi,

Having a few problems compiling python2.2.1 with the curses module. Running
Slackware 8.0. Uncommented the appropriate line in Modules/Setup and ran
./configure, make etc. However when I test the curses module it gives
the following error:

sean:~/packages/Python-2.2.1$./python ./Lib/test/test_curses.py
Traceback (most recent call last):
  File "./Lib/test/test_curses.py", line 204, in ?
    curses.wrapper(main)
  File "/home/sean/packages/Python-2.2.1/Lib/curses/wrapper.py", line
  44, in wrapper
    res = apply(func, (stdscr,) + rest)
  File "./Lib/test/test_curses.py", line 198, in main
    module_funcs(stdscr)
  File "./Lib/test/test_curses.py", line 143, in module_funcs
    curses.curs_set(1)
 _curses.error: curs_set() returned ERR

Been googling for a few hours now but have not really found any obvious
solution. Any help on this would be great.

Cheers,  Sean



More information about the Python-list mailing list