Jenkins : Pycharm : 我不断收到升级 pip 的消息

Jenkins : Pycharm : I keep getting a message to upgrade pip

我正在尝试 运行 在 jenkins 云版本上进行自动化测试:所以我得到了这个错误:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-build-0739wibs/cryptography/setup.py", line 14, in <module>
    from setuptools_rust import RustExtension
ModuleNotFoundError: No module named 'setuptools_rust'


Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-0739wibs/cryptography/

You are using pip version 9.0.3, however version 22.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

Import chromedriver on the env variable.
Import python path on the env variable.
/tmp/jenkins3940904514869226010.sh: line 16: pytest: command not found
Build step 'Execute shell' marked build as failure
Finished: FAILURE

我做`python3 -m pip install --upgrade pip

我明白了 Requirement already satisfied: pip in ./venv/lib/python3.8/site-packages (22.0.3) `

我已通过在执行 shell

中添加此行来修复它
pip3 install --upgrade pip