[ python-Bugs-1598357 ] import curses fails

SourceForge.net noreply at sourceforge.net
Fri Nov 17 14:40:34 CET 2006


Bugs item #1598357, was opened at 2006-11-17 08:40
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1598357&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Windows
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: thorvinrhuebarb (thorvinrhuebarb)
Assigned to: Nobody/Anonymous (nobody)
Summary: import curses fails

Initial Comment:
I am new to python and teaching myself.

I downloaded and installed python 2.5 for windows from the main page, accepting all defaults. 

python is installed in c:\Python25

I am able to import everything else I have tried sucessfully. "sys", "os", self written code.

There is a "curses" subfolder in the c:\Python25\Lib folder it contains
.py versions of all of the following files
__init__
ascii
has_key
panel
textpad
wrapper

The documentation includes curses in the "Generic Operating System Services"


>From what I have read this should indicate that  can uses curses in windows (even though this was not the case in previous versions of python).


When I attempt to "import curses" I get the following result.

>>> import curses

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import curses
  File "C:\Python25\Lib\curses\__init__.py", line 15, in <module>
    from _curses import *
ImportError: No module named _curses


I am unsure if this is an error in documentation and curses does not in fact work with windows or if there is an error in the default windows installation.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1598357&group_id=5470


More information about the Python-bugs-list mailing list