无法安装curses(python / windows 10)

时间:2019-04-27 21:34:43

标签: python curses python-curses

我尝试使用

python -m pip install windows-curses

出现的错误是:

  ERROR: Could not find a version that satisfies the requirement windows-curses (from versions: none)

我也尝试了this answer提供的方法,并且在我的终端窗口中显示了相同的错误。如何在我的计算机上安装适用于Python / Windows 10的Curses?

1 个答案:

答案 0 :(得分:1)

您的Python版本是什么?该库适用于2.7和3.5 +。

我已经在这里安装了,没有任何问题。

我已经在3.6和3.7中进行了测试,并且工作正常。

如果您拥有适当版本的Python,请尝试从https://pypi.org/project/windows-curses/#files下载wheel。