---
title: 环境准备
description: "1. 请参考《CANN 软件安装(https://www.hiascend.com/document/detail/zh/canncommercial/900/softwareinst/instg/instg_0000.html)》完成驱动、固件以及CANN Toolkit开发套件包和ops算子包的安装，部署开发环境和运行环境。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/devaids/aoe/aoeep_16_030.html
sourcePath: /source/zh/canncommercial/900/devaids/aoe/aoeep_16_030.html
indexId: c27f73126397f2577dc2ff7432958f50eaf6ee349f78d5f5ac3ef6ee9e3de5bf59
---
# 环境准备

1. 请参考《CANN 软件安装(https://www.hiascend.com/document/detail/zh/canncommercial/900/softwareinst/instg/instg_0000.html)》完成驱动、固件以及CANN Toolkit开发套件包和ops算子包的安装，部署开发环境和运行环境。
2. 安装TensorFlow和TF Adapter，具体操作请参见《TensorFlow 1.15模型迁移(https://www.hiascend.com/document/detail/zh/TensorFlowCommercial/900/migration/tfmigr1/tfmigr1_000001.html)》或者《TensorFlow 2.6.5模型迁移(https://www.hiascend.com/document/detail/zh/TensorFlowCommercial/900/migration/tfmigr2/tfmigr2_000001.html)》。
3. 安装第三方依赖。
  环境部署完成后，需要参见表1安装依赖的第三方软件。

**表1 AOE依赖软件**

| 需要安装的第三方软件 | 用途 | 如何安装 |
| --- | --- | --- |
| pciutils工具 | AOE工具的调优使用lspci命令获取昇腾AI处理器所在硬件设备，所以需要在执行AOE工具的环境中安装pciutils工具。 | 例如： Ubuntu操作系统：sudo apt\-get install pciutils openEuler操作系统：sudo yum install pciutils 若您是其他操作系统，请根据实际情况替换安装命令。 |
