---
title: 环境配置
description: "在执行安装步骤前需要安装对应版本的依赖组件。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengai/ecosystemEnable/pytorch/kunpengpytorch_04_0004.html
sourcePath: /source/zh/kunpengai/ecosystemEnable/pytorch/kunpengpytorch_04_0004.html
indexId: c61483f09eb5f0c62c34d44077e4dc00f30209021f62ed8561871665321ab3ad72
---
# 环境配置

在执行安装步骤前需要安装对应版本的依赖组件。

安装系统依赖。```
dnf install -y \
  --setopt=install_weak_deps=False \
  --setopt=tsflags=nodocs \
  python3-pip openblas numactl-libs
```
