On Sun, Oct 16, 2011 at 11:16, Jan Sundström <sundstro...@gmail.com> wrote:
> On 16 Okt, 06:59, Christoph Gohlke <cjgoh...@gmail.com> wrote:
>> On Oct 15, 1:13 pm, Jan Sundström <sundstro...@gmail.com> wrote:
>>
>>
>>
>> `import curses` should work. What exactly is the error message? Does
>> `import curses` work outside your program/program directory?
>>
>> The curses package is part of the standard library and usually
>> installed in Python32\Lib\curses. On Windows the  _curses.pyd files is
>> missing in the standard distribution. curses-2.2.win-amd64-py3.2.exe
>> installs the missing _curses.pyd file into Lib/site-packages.
>
> Thanks for the tip to check in what library it works, that set me on
> track tofind a silly mistake that I had done. Now everything works
> fine.
>
> But, how come that the Windows distribution for Python doesn't include
> the _curses.pyd file?

It's not a standard library module on Windows. The curses Christoph
mentioned is built on the PDCurses library, which is an external
project.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to