gpt4 book ai didi

robotframework - 如何在 Windows 上安装 robotframework RIDE?

转载 作者:行者123 更新时间:2023-12-01 12:29:06 25 4
gpt4 key购买 nike

从几天开始,我一直在尝试安装 robotframework RIDE,我尝试按照我在谷歌上搜索到的所有帖子进行操作,但仍然面临一些问题。以下是我遵循并得出的结论:

  1. 我已经成功安装了 python2.7 --- 因为我在执行 python --version 时得到了版本

  2. 我还使用 pip install robot-framework 安装了 robot-framework

  3. 还有,wxpython

  4. 我尝试从这个 website 下载 robot-framework ride ,但是当我解压缩它时,我找不到任何可执行文件。我还尝试使用 pip 安装 ride,即 pip install robotframework ride,但出现以下错误:

    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 我已经确保在环境变量中正确添加了 python 的 PATH。

最佳答案

您使用了错误的包名。 robotframework 和 ride 之间没有空格 - 它是一个连字符。

pip install robotframework-ride

但是,我不明白为什么会出现超时错误。再试试看。

关于robotframework - 如何在 Windows 上安装 robotframework RIDE?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36259556/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com