python redirection is not supported

python 下import curses 的包之后运行文件会报错如下

在网上找了很久,找到了外网的回答

 

意思就是不能用任何IDE来运行有curses包的python文件。我之前是在pycharm里跑的,自然跑不起来。

改到命令行运行:

成功

 

posted @ 2017-04-01 16:53  阿狐四  阅读(2262)  评论(0编辑  收藏  举报