Environment Configuration
Before compiling and building the source code, you need to install the dependent components of the required version.
- Install system dependencies.
1 2 3 4
dnf install -y \ --setopt=install_weak_deps=False \ --setopt=tsflags=nodocs \ python3-pip python3-devel gcc gcc-c++ make git rust cargo
- Install the Python build tools.
1python3 -m pip install --upgrade pip setuptools wheel maturin
- Install NumPy.
1python3 -m pip install numpy==2.4.4
NumPy is required in the following verification example to construct tensor data. Therefore, you need to install NumPy in advance.
Parent topic: Preparations