Fork me on GitHub

coures

curses 库 ( ncurses )提供了控制字符屏幕的独立于终端的方法。curses 是大多数类似于 UNIX 的系统(包括Linux)的标准部分,而且它已经移植到 Windows 和其它系统。

安装包   http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses

安装   pip install whl文件名

可以应对python程序的报错:

from _curses import *
ImportError: No module named '_curses'

我就遇到这个报错,花了很多功夫找到以上解决方案。

posted on 2019-03-03 17:45  anyux  阅读(422)  评论(0)    收藏  举报