Python curses Redirection is not supported

后端 未结 4 512
孤城傲影
孤城傲影 2021-01-02 00:59

I am trying to use Curses in PyDev in Eclipse in Win7.

I have installed Python 3.2 (64bit) and curses-2.2.win-amd64-py3.2. When I input the following testing codes i

4条回答
  •  北海茫月
    2021-01-02 01:58

    You cannot expect to use curses with a non-terminal.

    Probably you get this because you are running the script from inside an IDE, like PyCharm or any other.

    All IDEs do provide consoles that are not terminals, so that's where the problem comes from.

提交回复
热议问题