---
title: 环境要求
description: "本文档以openEuler 24.03 LTS SP3系统下安装Safetensors 0.7.0版本为例。除此之外，本节介绍了鲲鹏服务器上安装Safetensors可支持的其他环境信息。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengai/ecosystemEnable/safetensors/kunpengsafetensors_04_0003.html
sourcePath: /source/zh/kunpengai/ecosystemEnable/safetensors/kunpengsafetensors_04_0003.html
indexId: b98dd68fc9bcd4eb71e0d243f9c41391ca1adcb9a5fce75ee694ba1a3203009680
---
# 环境要求

本文档以openEuler 24.03 LTS SP3系统下安装Safetensors 0.7.0版本为例。除此之外，本节介绍了鲲鹏服务器上安装Safetensors可支持的其他环境信息。

#### 可支持的版本


**表1 版本范围**

| OS版本 | Python版本 | 支持的Safetensors版本范围 |
| --- | --- | --- |
| openEuler 24.03 LTS SP3 | Python 3.11.6 | Safetensors 0.7.x；建议Safetensors 0.7.0 |
| openEuler 22.03 LTS SP4 | Python 3.9.9 | Safetensors 0.7.x；建议Safetensors 0.7.0 |


#### 依赖组件要求


**表2 依赖组件要求对应的版本**

| 组件 | 版本 |
| --- | --- |
| python3 | 3.11.6\-20.oe2403sp3 |
| python3\-pip | 23.3.1\-7.oe2403sp3 |
| pip | 26.1.1 |
| setuptools | 82.0.1 |
| wheel | 0.47.0 |
| NumPy | 2.4.4 |
| Safetensors | 0.7.0 |


Safetensors 0.7.0要求Python >=3.9。openEuler 22.03 LTS SP4默认的Python 3.9.9满足该版本要求，可以安装Safetensors 0.7.0。
