---
title: 卸载SRA_Inference
description: "若不再需要使用SRA_Inference，可卸载SRA_Inference。卸载SRA_Inference将会影响您正在执行的业务流，建议先停止正在执行的业务流再进行卸载操作。若操作过程中使用了RPM包管理工具支持但本文档中未说明的参数，可能会引入未定义行为，请谨慎操作。"
url: https://www.hikunpeng.com/document/detail/zh/boostsra/srainference/SRA_Inference/kunpengsra_inference_16_0008.html
sourcePath: /source/zh/boostsra/srainference/SRA_Inference/kunpengsra_inference_16_0008.html
indexId: b4b36c43604c6a62923f065232421c56f7a621561712a8b7467a579cd099872880
---
# 卸载SRA_Inference

若不再需要使用SRA_Inference，可卸载SRA_Inference。卸载SRA_Inference将会影响您正在执行的业务流，建议先停止正在执行的业务流再进行卸载操作。若操作过程中使用了RPM包管理工具支持但本文档中未说明的参数，可能会引入未定义行为，请谨慎操作。

#### RPM包卸载

1. 执行rpm -e命令卸载RPM安装包。
  1 rpm -e boostsra-inference

2. 确认安装目录“/usr/local/sra_inference/lib”已被删除。
3. 确认“/etc/profile”文件中无/usr/local/sra_inference相关环境变量。


#### TensorFlow卸载

1. 执行pip uninstall命令卸载TensorFlow。
  1 pip uninstall tensorflow

2. 执行pip show命令确认tensorflow==xxxx已卸载。
  1 pip show tensorflow

  如果输出包含WARNING: Package(s) not found: tensorflow，则已卸载成功。
