我刚从3.6版本升级,但在pip列表中找不到curses。当我尝试运行我的程序时,出现以下错误:
Traceback (most recent call last):
File "/media/HD/Documents/Python/program/menu.py", line 1, in <module>
import curses
File "/usr/local/lib/python3.9/curses/__init__.py", line 13, in <module>
from _curses import *
ModuleNotFoundError: No module named '_curses'
"pip3 install curses" 给我返回:
ERROR: Could not find a version that satisfies the requirement curses (from versions: none)
ERROR: No matching distribution found for curses
有什么想法吗?Python不再附带curses了吗? 编辑:这是在Ubuntu系统中。