Results 1 to 3 of 3

Thread: Curses Python module missing

  1. #1
    Join Date
    Apr 2009
    Location
    USA
    Posts
    17

    Default Curses Python module missing

    I am trying to use ncurses in Python 2.6 on openSUSE 11.2, but the curses module appears to be missing.

    I keep getting this error:
    Code:
    >>> import curses
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    ImportError: No module named curses
    I tried installing ncurses-devel, but still get the same error.
    Do I need to manually install the curses module, and if so how?

    Thanks in advance!

  2. #2
    Join Date
    Jul 2008
    Location
    Voorhout, Netherlands
    Posts
    262

    Default Re: Curses Python module missing

    On 01/23/10 06:56, Meatwad wrote:
    >
    > I am trying to use ncurses in Python 2.6 on openSUSE 11.2, but the
    > curses module appears to be missing.
    >

    [..]

    zypper in python-curses

    Theo

  3. #3
    Join Date
    Apr 2009
    Location
    USA
    Posts
    17

    Default Re: Curses Python module missing

    Quote Originally Posted by LittleRedRooster View Post
    On 01/23/10 06:56, Meatwad wrote:
    >
    > I am trying to use ncurses in Python 2.6 on openSUSE 11.2, but the
    > curses module appears to be missing.
    >

    [..]

    zypper in python-curses

    Theo
    Thanks, that solved everything.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •