2016-03-28 69 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。