作者想要用python的文本GUI 来制做小游戏,所以要安装curses库,但是试了各种方法总是报错
ERROR: Could not find a version that satisfies the requirement curses (from versions: none)
ERROR: No matching distribution found for curses
看了教程说是下载whl文件,结果还是没用
WARNING: Requirement 'curses2.2.1+utf8cp310cp310win32.whl' looks like a filename, but the file does not exist
ERROR: curses2.2.1+utf8cp310cp310win32.whl is not a valid wheel filename.
也试过换其他源以及anaconda,都不行
最后解决的办法是
pip install windows-curses
希望能帮助到大家
原因应该是其他os都自带curses,所以前面要加个windows