无法安装龙卷风

Can't install tornado

我正在设置 tensorflow,我得到了这个输出:

ERROR: matplotlib 1.3.1 requires nose, which is not installed.

所以我在做

sudo easy_install tornado

我得到了输出:

earching for tornado
Reading https://pypi.python.org/simple/tornado/
Download error on https://pypi.python.org/simple/tornado/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found!
Couldn't find index page for 'tornado' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found!
No local packages or download links found for tornado
error: Could not find suitable distribution for Requirement.parse('tornado')

我该怎么办? 谢谢 弗朗切斯科

错误:matplotlib 1.3.1 需要 nose,但未安装。

您似乎 运行在代理或防火墙后面执行命令。如果是这种情况,那么需要设置相应的环境变量:

set http_proxy="username:password@host:port"
set https_proxy="username:password@host:port"

否则,您可以通过 运行ning 使用 pip 安装 tornado(如果您没有使用代理,则忽略 --proxy):

pip --proxy http://user:password@proxy-host:port install tornado

编辑:我建议 运行

sudo -H pip install --ignore-installed matplotlib

为了安装所需的包而忽略当前版本。