curses is not imported under Linux (and Python 2.4)

Konrad Koller koko9991 at compuserve.de
Sun Jan 9 04:22:29 EST 2005


Thanks for your hint.
>What Linux distro?
SuSE 9.1
>Is the Python version you're running one you compiled, one that shipped
>with the distro, or a 3rd party RPM?
compiled with Python-2.4.tar.bz2
>
>At a guess, I'd say you compiled it yourself and you don't have the
>ncurses development packages (providing the ncurses header files and
>static libs) installed.
see above, but I did not exclude anything, it was a totally normal
run.
I did the same installation of Python2.4 on a different computer with
Fedora2 and found there  the  _curses.so and  _curses_panel.so in
lib-dynload, which I missed in SuSE Linux, although under SuSE the
curses package was present in Lib. I don't understand this strange
behavior between the two installations.
After having the 2 mentioned static libs transfered from the "Fedora
computer"  to the the  "SuSE computer"  the curses worked fine under
SuSE linux

Konrad Koller



More information about the Python-list mailing list