no ptyhon curses module on solaris?
Shea Martin
shea at void.nil
Tue Nov 7 22:59:25 EST 2006
Shea Martin wrote:
> I just installed active python, and I get this error:
>
> % python
> ActivePython 2.4.3 Build 11 (ActiveState Software Inc.) based on
> Python 2.4.3 (#1, Apr 3 2006, 18:34:02) [C] on sunos5
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import curses
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "/usr/local/lib/python2.4/curses/__init__.py", line 15, in ?
> from _curses import *
> ImportError: No module named _curses
>
> Any ideas why? I have libncurses 5.2 on my machine.
>
> Thanks
For some reason the package was not linked against ncurses in the
Solaris version. I ended up just building Python from source.
~S
More information about the Python-list
mailing list