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

  2. Shea Martin

    Shea Martin Guest

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

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Steve Menard

    Debuggin a ptyhon extension

    Steve Menard, May 6, 2004, in forum: Python
    Replies:
    7
    Views:
    690
    Sridhar R
    May 11, 2004
  2. Jean-Paul Calderone
    Replies:
    2
    Views:
    421
    Joel Hedlund
    Feb 9, 2006
  3. Replies:
    3
    Views:
    594
    Thomas Dickey
    Jun 7, 2006
  4. Replies:
    5
    Views:
    231
  5. kretik
    Replies:
    5
    Views:
    290
    kretik
    Jun 19, 2008
Loading...

Share This Page