Python中的诅咒模块
我尝试导入诅咒,但当我运行程序时,它会显示此错误Python中的诅咒模块,python,module,curses,Python,Module,Curses,我尝试导入诅咒,但当我运行程序时,它会显示此错误 import random import curses s = curses.initscr() curses.curs_set(0) sh, sw = s.getmaxyx() w = curses.newin(sh, sw, 0, 0) w.keypad(1) w.timeout(100) ModuleNotFoundError:没有名为“\u curses”的模块Pyth
import random
import curses
s = curses.initscr()
curses.curs_set(0)
sh, sw = s.getmaxyx()
w = curses.newin(sh, sw, 0, 0)
w.keypad(1)
w.timeout(100)
ModuleNotFoundError:没有名为“\u curses”的模块Python的Windows版本不包括curses模块。有些windows端口实现了相同的API。您应该安装其中一个模块。在什么操作系统上编程?windows 10@jpuriol