Building curses module in 1.6

Niels Diepeveen niels at
Thu Sep 21 12:54:56 CEST 2000

insyte at schreef:
> >> /usr/local/lib/python1.6/lib-dynload directory is empty.  I believe I
> >> should end up with '' in there, correct?

Only if you uncommented "*shared*" in the Setup file. It looks like you
BTW, you shouldn't do
 make; make install
 make && make install
instead or you may miss errors reported by the first make.

> >>> import curses
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> ImportError: No module named curses

This is because the Lib/curses package is not installed. Solution: add
"curses" to LIBSUBDIRS in the Makefile. I think this is a bug.

Niels Diepeveen
Endea automatisering

More information about the Python-list mailing list