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

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

1. 安装系统依赖。
  1 2 3 4 dnf install -y \ --setopt=install_weak_deps=False \ --setopt=tsflags=nodocs \ python3 python3-pip python3-devel gcc gcc-c++ make tar gzip openblas-devel pkgconf

2. 安装Python构建工具。
  1 python3 -m pip install --upgrade pip setuptools wheel packaging meson meson-python ninja Cython pyproject-metadata
