no ptyhon curses module on solaris?

S

Shea Martin

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
 
S

Shea Martin

Shea said:
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

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

~S
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,189
Members
46,735
Latest member
HikmatRamazanov

Latest Threads

Top