无法为 jython 安装机器人框架

Unable to install robot framework for jython

我正在尝试通过命令 pip install robotframework 在 C:\jython2.7.0\bin 中安装 jython 的机器人框架。但它抛出以下错误:

C:\jython2.7.0\bin\pip.exe__main__.py run on Thu Sep 28 14:34:34 2017
Downloading/unpacking robotframework
Downloading/unpacking robotframework
←[31m Cannot fetch index base URL https://pypi.python.org/simple/
←[0m←[31m Could not find any downloads that satisfy the requirement robotframework
←[0m Cleaning up...

因此,我无法在 eclipse 中获取 jython 解释器。

您始终可以从 https://pypi.python.org/(使用您的浏览器)下载软件包,然后从本地路径安装,例如:

jython -m pip install <path to downloaded package>

或者,如果您在代理后面,您可以定义:

set HTTPS_PROXY=https://your.proxy.url:port

(这适用于 Python)