安装Ascend-cann-toolkit_8.2.RC1.alpha001_linux-x86_64.run报错 error code: 126
收藏回复举报
安装Ascend-cann-toolkit_8.2.RC1.alpha001_linux-x86_64.run报错 error code: 126
t('forum.solved') 已解决
新人帖
发表于2025-06-18 16:02:47
0 查看

非昇腾硬件环境+ubuntu18.04+普通用户权限:

Linux 5.4.0-144-generic #161~18.04.1-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux

执行check:

 ./Ascend-cann-toolkit_8.2.RC1.alpha001_linux-x86_64.run --check 

Makeself logfile: /home/XXXX/log/makeself/makeself.log 

Verifying archive integrity...  100%   SHA256 checksums are OK. All good. 

Verifying archive integrity...  100%   SHA256 checksums are OK. All good.

执行 install:

./Ascend-cann-toolkit_8.2.RC1.alpha001_linux-x86_64.run --install 

报错如下:

发布时间:2023年11月9日Do you accept the EULA to install CANN?[Y/N]y
[Toolkit] [20250618-14:52:54] [INFO] install start
[Toolkit] [20250618-14:52:54] [INFO] The installation path is /home/xxxx/Ascend.
[Toolkit] [20250618-14:52:54] [WARNING] driver package is not installed. If you install in docker, you should map driver install path and /etc/ascend_install.info to the docker container, you can see the installation guide for details.
[Toolkit] [20250618-14:52:54] [WARNING] driver package is not installed. If you install in docker, you should map driver install path and /etc/ascend_install.info to the docker container, you can see the installation guide for details.
[Toolkit] [20250618-14:52:54] [INFO] install package CANN-runtime-7.7.t17.0.b106-linux.x86_64.run start

[Toolkit] [20250618-14:53:01] [INFO] start uninstall CANN-runtime-7.7.t17.0.b106-linux.x86_64.run
[Toolkit] [20250618-14:53:07] [ERROR] CANN-runtime-7.7.t17.0.b106-linux.x86_64.run install failed
[Toolkit] [20250618-14:53:07] [ERROR] package install failed, Please refer to the log for more details: /home/xxxx/var/log/ascend_seclog/ascend_toolkit_install.log

ascend_toolkit_install.log报错内容:

[Runtime] [2025-06-18 14:53:07] [INFO]: Start time:2025-06-18 14:53:07
[Runtime] [2025-06-18 14:53:07] [INFO]: LogFile:/home/xxxx/var/log/ascend_seclog/ascend_install.log
[Runtime] [2025-06-18 14:53:07] [INFO]: InputParams:--quiet --uninstall --install-path=/home/xxxx/Ascend/ascend-toolkit
[Runtime] [2025-06-18 14:53:07] [INFO]: OperationLogFile:/home/xxxx/var/log/ascend_seclog/operation.log
[Runtime] [2025-06-18 14:53:07] [INFO]: base version is 7.7.T17.0.B106.
[Runtime] [2025-06-18 14:53:07] [INFO]: uninstall /home/xxxx/Ascend/ascend-toolkit full
[Runtime] [2025-06-18 14:53:07] [INFO]: step into run_runtime_uninstall.sh ......
[Runtime] [2025-06-18 14:53:07] [INFO]: uninstall target dir /home/xxxx/Ascend/ascend-toolkit/8.2.RC1.alpha001, type full.
[Runtime] [2025-06-18 14:53:07] [ERROR]: runtime notify latest manager remove softlink in multi version uninstall failed! version is 7.7.T17.0.B106, version_dir is 8.2.RC1.alpha001.
[Runtime] [2025-06-18 14:53:07] [ERROR]: ERR_NO:0x0090;ERR_DES:failed to uninstall package.
[Runtime] [2025-06-18 14:53:07] [ERROR]: Runtime package uninstall failed!
[Runtime] [2025-06-18 14:53:07] [INFO]: End time:2025-06-18 14:53:07
[Toolkit] [20250618-14:53:07] [INFO]  delete operation, the directory /home/xxxx/Ascend/ascend-toolkit is not empty.
[Toolkit] [20250618-14:53:07] [ERROR] CANN-runtime-7.7.t17.0.b106-linux.x86_64.run install failed
[Toolkit] [20250618-14:53:07] [ERROR] package install failed, Please refer to the log for more details: /home/xxxx/var/log/ascend_seclog/ascend_toolkit_install.log
[Toolkit] [20250618-14:53:07] [ERROR] process exit
[Toolkit] [20250618-15:04:19] [INFO] LogFile:/home/xxxx/var/log/ascend_seclog/ascend_toolkit_install.log

我要发帖子