How do I get curses to work in Python 3.2 on win-64?

Jan Sundström sundstromen at gmail.com
Sun Oct 16 12:16:44 EDT 2011


On 16 Okt, 06:59, Christoph Gohlke <cjgoh... at gmail.com> wrote:
> On Oct 15, 1:13 pm, Jan Sundström <sundstro... at 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?




More information about the Python-list mailing list