robotframework rabbitmq不使用最新的robotframework库

xghobddn  于 2021-08-25  发布在  Java
关注(0)|答案(0)|浏览(261)

我的 requirements.txt 文件如下所示:

robotframework==4.0.3
robotframework-selenium2library==3.0.0
selenium==3.141.0
robotframework-excellib==2.0.1
robotframework-csvlib==1.0.2
robotframework-extendedrequestslibrary==0.5.5
robotframework-jsonlibrary==0.3.1
robotframework-jsonvalidator==2.0.0
robotframework-requests==0.9.1
robotframework-openpyxllib==0.7
robotframework-difflibrary==0.1.0
robotframework-xvfb==1.2.2
robotframework-archivelibrary==0.4.1
robotframework-databaselibrary==1.2.4
robotframework-rabbitmq==3.0.0
pymysql
urllib3==1.26.5
RESTinstance
requests==2.25.1
robotframework-pabot

当我跑步的时候 pip install -r requirements.txt 我得到的结果如下:

ERROR: Cannot install -r requirements.txt (line 12), -r requirements.txt (line 13), -r requirements.txt (line 15), -r requirements.txt (line 4), -r requirements.txt (line 6), -r requirements.txt (line 7), -r requirements.txt (line 8), -r requirements.txt (line 9) and robotframework==4.0.3 because these package versions have conflicting dependencies.
The conflict is caused by:
    The user requested robotframework==4.0.3
    robotframework-excellib 2.0.1 depends on robotframework>=3.0.3
    robotframework-extendedrequestslibrary 0.5.5 depends on robotframework
    robotframework-jsonlibrary 0.3.1 depends on robotframework>=3.0
    robotframework-jsonvalidator 2.0.0 depends on robotframework>=3.0.1
    robotframework-requests 0.9.1 depends on robotframework
    robotframework-xvfb 1.2.2 depends on robotframework
    robotframework-archivelibrary 0.4.1 depends on robotframework
    robotframework-rabbitmq 3.0.0 depends on robotframework==3.0.4

我认为这是最后一排的问题- rabbitmq 3.0.0 没有真正使用最新版本 robotframework==4.0.3 .
通过设置来松开它 robotframework-rabbitmq 没有版本会导致不间断的下载依赖项,并持续数小时,如:

Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
  Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)
  Downloading six-1.13.0-py2.py3-none-any.whl (10 kB)
  Downloading six-1.12.0-py2.py3-none-any.whl (10 kB)
  Downloading six-1.11.0-py2.py3-none-any.whl (10 kB)
INFO: pip is looking at multiple versions of robotframework-pythonlibcore to determine which version is compatible with other requirements. This could take a while.
Collecting robotframework-pythonlibcore>=2.1.0
  Downloading robotframework_pythonlibcore-2.2.1-py2.py3-none-any.whl (10 kB)
INFO: pip is looking at multiple versions of six to determine which version is compatible with other requirements. This could take a while.
  Downloading robotframework_pythonlibcore-2.2.0-py2.py3-none-any.whl (10 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
  Downloading robotframework_pythonlibcore-2.1.0-py2.py3-none-any.whl (10 kB)
INFO: pip is looking at multiple versions of robotframework-seleniumlibrary to determine which version is compatible with other requirements. This could take a while.
Collecting robotframework-seleniumlibrary>=3.0.0
  Downloading robotframework_seleniumlibrary-5.1.2-py2.py3-none-any.whl (94 kB)
INFO: pip is looking at multiple versions of robotframework-pythonlibcore to determine which version is compatible with other requirements. This could take a while.
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /packages/1b/a3/f712ffbad35b177af1c91e8ba58ec56a34a6dd61ce6348d779b4951482df/robotframework_seleniumlibrary-5.1.1-py2.py3-none-any.whl
  Downloading robotframework_seleniumlibrary-5.1.1-py2.py3-none-any.whl (94 kB)
...

(正如我检查的,这不是我的互联网的问题)
为什么它不能与最新的机器人框架一起工作?如何解决此问题?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题