Red Hat Training
A Red Hat training course is available for RHEL 8
38.3. 为开发人员安装其他 Python 3 工具
开发人员的额外 Python 工具通过相应的 python3x-devel
模块中的 CodeReady Linux Builder 存储库发布。
python38-devel
模块包含 python38-pytest
软件包及其依赖项:pyparsing
, atomicwrites
, attrs
, packaging
, py
, more-itertools
, pluggy
, 和 wcwidth
。
python39-devel
模块包含 python39-pytest
软件包及其依赖项:pyparsing
, attrs
, packaging
, py
, more-itertools
, pluggy
, wcwidth
, iniconfig
, 和 pybind11
。python39-devel
模块还包含 python39-debug
和 python39-Cython
软件包。
重要
红帽不支持 CodeReady Linux Builder 存储库及其内容。
要从 python39-devel
模块安装软件包,请使用以下步骤。
流程
启用 CodeReady Linux Builder 存储库:
# subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
启用
python39-devel
模块:# yum module enable python39-devel
安装
python39-pytest
软件包:# yum install python39-pytest
要从 python38-devel
模块安装软件包,请在上述命令中将 python39- 替换为 python38。