---
title: 导入torch时提示libquadmath不存在-昇腾社区
description: (待补充)
keywords: Ascend Deployer;torch;安装;系统依赖
url: https://www.hiascend.com/document/caselibrary/detail/deployercase_0011
section: (其他)
---

# 导入torch时提示libquadmath不存在-昇腾社区

URL: https://www.hiascend.com/document/caselibrary/detail/deployercase_0011
描述: (待补充)
关键词: Ascend Deployer;torch;安装;系统依赖

昇腾文档 [了解详情](https://www.hiascend.com/document)

故障案例 [了解详情](https://www.hiascend.com/document/caselibrary)

导入torch时提示libquadmath不存在

导入torch时提示libquadmath不存在

2025/01/23

866

问题信息

| 问题来源 | 产品大类 | 产品子类 | 关键字 |
| --- | --- | --- | ---|
| 官方 | 安装部署 | Ascend Deployer | Ascend Deployer、torch、安装、系统依赖 |

#### 问题描述

如果系统安装torch-1.8.1后，在导入torch时出现“ImportError: libquadmath.so.0: cannot open shared object file: No such file or directory”等提示信息。

#### 原因分析

缺少系统依赖。

#### 解决方法

执行以下命令安装系统依赖。

```
yum install libquadmath
```

本页内容

- 问题信息
- 问题描述
- 原因分析
- 解决方法
