Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "curses.py", line 3, in <module>
It seems you named your own file curses.py, Python looks in the current directory first so you cannot have the same name as a library.