2016-03-28 67 views
3

我试图从几天安装robotframework RIDE,我尝试了以下所有发现使用Google搜索的帖子,但仍然面临着一些问题。下面是我遵循并上来的东西:如何在Windows上安装robotframework RIDE?

1)我有成功安装python2.7 ---我是说我执行Python版本--version

2)我一直在使用PIP安装机器人的框架

3)还安装机器人的框架,也wxPython的 4)我尝试从下面的网站下载robot-framework ride:https://pypi.python.org/packages/source/r/robot-framework-ride/robotframework-ride-1.4.tar.gz,但是当我解压缩它时,我无法完成d任何可执行文件。我也尝试过使用PIP安装搭,即PIP安装robotframework骑,并得到了以下错误:

C:\Python27>pip install robotframework ride 
You are using pip version 7.0.1, however version 8.1.1 is available. 
You should consider upgrading via the 'pip install --upgrade pip' command. 
Requirement already satisfied (use --upgrade to upgrade): robotframework in c:\p 
ython27\lib\site-packages 
Collecting ride 
    Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connec 
tion broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.conne 
ction.VerifiedHTTPSConnection object at 0x030C6A30>, 'Connection to pypi.python. 
org timed out. (connect timeout=15)')': /simple/ride/ 
    Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connec 
tion broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.conne 
ction.VerifiedHTTPSConnection object at 0x030C6B30>, 'Connection to pypi.python. 
org timed out. (connect timeout=15)')': /simple/ride/ 
    Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connec 
tion broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.conne 
ction.VerifiedHTTPSConnection object at 0x030C6BD0>, 'Connection to pypi.python. 
org timed out. (connect timeout=15)')': /simple/ride/ 
    Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connec 
tion broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.conne 
ction.VerifiedHTTPSConnection object at 0x030C6CB0>, 'Connection to pypi.python. 
org timed out. (connect timeout=15)')': /simple/ride/ 
    Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connec 
tion broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.conne 
ction.VerifiedHTTPSConnection object at 0x030C6D90>, 'Connection to pypi.python. 
org timed out. (connect timeout=15)')': /simple/ride/ 
    Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connec 
tion broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.conne 
ction.VerifiedHTTPSConnection object at 0x030C6B10>, 'Connection to pypi.python. 
org timed out. (connect timeout=15)')': /simple/ride/ 
    Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connec 
tion broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.conne 
ction.VerifiedHTTPSConnection object at 0x030C6D10>, 'Connection to pypi.python. 
org timed out. (connect timeout=15)')': /simple/ride/ 
    Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connec 
tion broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.conne 
ction.VerifiedHTTPSConnection object at 0x030C6E70>, 'Connection to pypi.python. 
org timed out. (connect timeout=15)')': /simple/ride/ 
    Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connec 
tion broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.conne 
ction.VerifiedHTTPSConnection object at 0x030C6AB0>, 'Connection to pypi.python. 
org timed out. (connect timeout=15)')': /simple/ride/ 
    Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connec 
tion broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.conne 
ction.VerifiedHTTPSConnection object at 0x03186030>, 'Connection to pypi.python. 
org timed out. (connect timeout=15)')': /simple/ride/ 
     Could not find a version that satisfies the requirement ride (from versions:) 

    No matching distribution found for ride 

C:\Python27> 

是否有人可以帮助我!

P.S我已经确认PATH for python已正确添加到环境变量中。

在前提前感谢

+0

为了使用机器人框架,您不需要RIDE。您可能需要考虑其他[可用选项](http://robotframework.org/#tools)之一(点击“编辑者”查看编辑机器人框架文件的十几种方法列表)。 –

回答

2

您正在使用错误的包名称。机器人框架和骑乘之间没有空间 - 它是连字符。

pip install robotframework-ride 

但是,我不明白为什么你会收到超时错误。再试一次,看看。

+0

我曾尝试过这两个命令,它不工作!但现在它似乎正在工作!无论如何非常感谢您的答案:) – novice

+0

我不知道如果问题是因为我连接到工作网络:(但它现在工作正常... – novice

0

在Windows上,您应该在RIDE之前安装wxpython。

您可以从wxPython下载页面下载相应的安装程序。有关安装的更多信息,请参阅http://wxpython.org一般页面。

矿是wxpython-2.8。