---
title: 环境配置
description: "在源码编译构建前需要安装对应版本的依赖组件。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengai/ecosystemEnable/llamaIndex/kunpengllamaIndex_16_0004.html
sourcePath: /source/zh/kunpengai/ecosystemEnable/llamaIndex/kunpengllamaIndex_16_0004.html
indexId: 6f1b4faa1effd08de7c46ca365446c969d406beedf4573e7f92d24e19d0fc14178
---
# 环境配置

在源码编译构建前需要安装对应版本的依赖组件。

1. 安装系统依赖。
  1 2 3 4 dnf install -y \ --setopt=install_weak_deps=False \ --setopt=tsflags=nodocs \ python3-pip git

2. 安装Python构建工具。
  1 python3 -m pip install --upgrade pip setuptools wheel build
