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

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

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