no ptyhon curses module on solaris?

Discussion in 'Python' started by Shea Martin, Nov 8, 2006.

  1. Shea Martin

    Shea Martin Guest

    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.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
     
    Shea Martin, Nov 8, 2006
    #1
    1. Advertisements

  2. Shea Martin

    Shea Martin Guest

    For some reason the package was not linked against ncurses in the
    Solaris version. I ended up just building Python from source.

    ~S
     
    Shea Martin, Nov 8, 2006
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.