On Solaris 10 using system libcurses, curses fails to import:
hemlock% python3.1
Python 3.1.3 (r313:86834, Dec 1 2010, 19:51:26)
[GCC 4.5.1] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import curses
Traceback (most recent call last):
File "/opt/ts/python/3.1/lib/python3.1/curses/__init__.py", line 57, in <module>
has_key
NameError: name 'has_key' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/ts/python/3.1/lib/python3.1/curses/__init__.py", line 59, in <module>
from has_key import has_key
ImportError: No module named has_key
>>> |