Building curses module in 1.6

insyte at petra.squad51.net insyte at petra.squad51.net
Wed Sep 20 12:22:28 EDT 2000


>> /usr/local/lib/python1.6/lib-dynload directory is empty.  I believe I
>> should end up with 'cursesmodule.so' in there, correct?
>
>_cursesmodule.so, actually; curses is a package that imports _curses.
>How does 'import curses' fail?  And what does 'python -v' output when
>you try to import it?

Hmmm... python -v is cool!  I didn't realize that existed.  Anywho, it
fails the same whether I run it with -v or without:

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

And "_cursesmodule.so" is definitely not being installed.  It does not
exist anywhere in my /usr/local/lib/python1.6 tree:

petra:/usr/local/lib/python1.6$ find . -name "_cursesmodule.so" -print
petra:/usr/local/lib/python1.6$ 

Very odd.

Ben

-- 
Ben Beuchler                                         insyte at bitstream.net
MAILER-DAEMON                                         (612) 321-9290 x101
Bitstream Underground                                   www.bitstream.net



More information about the Python-list mailing list