Unable to install curses (python/windows 10)

老子叫甜甜 提交于 2019-12-13 11:00:10

问题


I have tried to use

python -m pip install windows-curses

and the error that shows up is:

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

I have also tried the method provided by this answer and the same error shows up in my terminal window. How can I install Curses for Python/Windows 10 on my machine?


回答1:


What's your Python version? This library works on 2.7 and 3.5+.

I have installed here without problems.

I have tested in 3.6 and 3.7 and worked fine.

Try downloading wheel from https://pypi.org/project/windows-curses/#files if you has the apropriate version of Python.



来源:https://stackoverflow.com/questions/55885055/unable-to-install-curses-python-windows-10

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!