Building curses module in 1.6
niels at endea.demon.nl
Thu Sep 21 12:54:56 CEST 2000
insyte at petra.squad51.net schreef:
> >> /usr/local/lib/python1.6/lib-dynload directory is empty. I believe I
> >> should end up with 'cursesmodule.so' 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.
More information about the Python-list