我刚从 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 中