ERROR: pytest 5.3.0 has requirement pluggy<1.0,>=0.12, but you'll have pluggy 1.

431 阅读1分钟

Using legacy setup.py install for pytest-dependency, since package 'wheel' is not installed. Using legacy setup.py install for jsonpath-rw, since package 'wheel' is not installed. ERROR: pytest 5.3.0 has requirement pluggy<1.0,>=0.12, but you'll have pluggy 1.0.0 which is incompatible. Installing collected packages: colorama, more-itertools, atomicwrites, zipp, typing-extensions, importlib-metadata, pluggy, py, attrs, wcwidth, pyparsing, packaging, pytest, six, allure-p ython-commons, allure-pytest, apipkg, PyHamcrest, pymongo, pytest-metadata, pytest-html, pytest-dependency, certifi, chardet, urllib3, idna, requests, requests-toolbelt, pyrsistent, jsons chema, ply, decorator, jsonpath-rw, pbr, jsonpath-rw-ext, jmespath, docutils, python-dateutil, botocore, s3transfer, boto3 Running setup.py install for pytest-dependency ... done Running setup.py install for jsonpath-rw ... done Successfully installed PyHamcrest-1.8.5 allure-pytest-2.6.2 allure-python-commons-2.6.2 apipkg-1.5 atomicwrites-1.4.0 attrs-21.4.0 boto3-1.14.34 botocore-1.17.63 certifi-2022.5.18 chardet -3.0.4 colorama-0.4.4 decorator-5.1.1 docutils-0.15.2 idna-2.7 importlib-metadata-4.11.3 jmespath-0.10.0 jsonpath-rw-1.4.0 jsonpath-rw-ext-1.2.2 jsonschema-3.0.1 more-itertools-8.13.0 pac kaging-21.3 pbr-5.9.0 pluggy-1.0.0 ply-3.11 py-1.11.0 pymongo-3.7.2 pyparsing-3.0.9 pyrsistent-0.18.1 pytest-5.3.0 pytest-dependency-0.4.0 pytest-html-1.20.0 pytest-metadata-1.8.0 python- dateutil-2.8.2 requests-2.20.1 requests-toolbelt-0.9.1 s3transfer-0.3.7 six-1.16.0 typing-extensions-4.2.0 urllib3-1.24.1 wcwidth-0.2.5 zipp-3.8.0 WARNING: You are using pip version 20.1.1; however, version 22.1 is available. You should consider upgrading via the 'd:\python\python.exe -m pip install --upgrade pip' command.

kQV1wqfEHr.jpg 重新安装一下pip 执行一下命令:python.exe -m pip install --upgrade pip,安装成功后,在执行一下:pip3 install -r packages.txt

V0tw5PNx95.jpg 看到下面的successfully就代表环境都安装成功了。

image.png