Python Windows诅咒安装在ubuntu上

Python Windows诅咒安装在ubuntu上,python,python-can,Python,Python Can,我正在尝试通过运行 pip2安装python可能会出现以下错误: Collecting windows-curses (from python-can) ERROR: Could not find a version that satisfies the requirement windows-curses (from python-can) (from versions: none) Error: No matching distribution found for windows-curs

我正在尝试通过运行 pip2安装python可能会出现以下错误:

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

Error: No matching distribution found for windows-curses (from python-can)

有什么建议吗?我使用的是Ubuntu 16.04。

如果您使用的是Python 3.6+,诅咒似乎是Ubuntu操作系统内置Python的一部分,因此无需安装。初始化会话以开始使用它

import curses
stdscr = curses.initscr()


对于Python2.7,您可能需要ncurses。

您正在使用Python2.7吗?