ubunt22.04 CANN安装失败
收藏回复举报
ubunt22.04 CANN安装失败
t('forum.solved') 已解决
发表于2023-12-27 17:54:03
0 查看

安装环境为ubuntu22.04,CANN包为Ascend-cann-toolkit_6.0.RC1_linux-x86_64.run

安装日志报错如下:

[Toolkit] [20231227-16:22:07] [INFO] LogFile:/var/log/ascend_seclog/ascend_toolkit_install.log 

[Toolkit] [20231227-16:22:07] [INFO] mkdir /usr/local/Ascend/ascend-toolkit 

[Toolkit] [20231227-16:22:07] [INFO] install start 

[Toolkit] [20231227-16:22:07] [INFO] The installation path is /usr/local/Ascend. 

[Toolkit] [20231227-16:22:07] [WARNING] driver package maybe not installed 

[Toolkit] [20231227-16:22:07] [WARNING] driver package maybe not installed 

[Toolkit] [20231227-16:22:07] [INFO] this environment is compilation and development environment 

[Toolkit] [20231227-16:22:07] [INFO] CANN-runtime-1.83.10.1.252-linux.x86_64.run CANN-compiler-1.83.10.1.252-linux.x86_64.run CANN-opp-1.83.10.1.252-linux.x86_64.run CANN-toolkit-1.83.10.1.252-linux.x86_64.run CANN-aoe-1.83.10.1.252-linux.x86_64.run Ascend-mindstudio-toolkit_5.0.RC3_linux-x86_64.run Ascend-test-ops_6.0.RC1_linux.run Ascend-pyACL_6.0.RC1_linux-x86_64.run 

[Toolkit] [20231227-16:22:07] [INFO] --devel --devel&--pylocal --devel --devel&--pylocal --devel --devel --devel --devel 

[Toolkit] [20231227-16:22:07] [INFO] install package CANN-runtime-1.83.10.1.252-linux.x86_64.run start 

[Runtime] [2023-12-27 16:22:09] [INFO]: Start time:2023-12-27 16:22:09 

[Runtime] [2023-12-27 16:22:09] [INFO]: LogFile:/var/log/ascend_seclog/ascend_install.log 

[Runtime] [2023-12-27 16:22:09] [INFO]: InputParams:--quiet --devel --install-path=/usr/local/Ascend/ascend-toolkit 

[Runtime] [2023-12-27 16:22:09] [INFO]: OperationLogFile:/var/log/ascend_seclog/operation.log 

[Runtime] [2023-12-27 16:22:09] [WARNING]: Cannot find the install path of driver. 

[Runtime] [2023-12-27 16:22:09] [WARNING]: base version was destroyed or not exist. 

[Runtime] [2023-12-27 16:22:09] [INFO]: parent_dir value is [/usr/local/Ascend] and child_ren_dir value is [ascend-toolkit] 

[Runtime] [2023-12-27 16:22:09] [INFO]: [ascend-toolkit] belongs to root. 

[Runtime] [2023-12-27 16:22:09] [INFO]: [ascend-toolkit] permission is ok. 

[Runtime] [2023-12-27 16:22:09] [INFO]: parent_dir value is [/usr/local] and child_ren_dir value is [Ascend] 

[Runtime] [2023-12-27 16:22:09] [INFO]: [Ascend] belongs to root. 

[Runtime] [2023-12-27 16:22:09] [INFO]: [Ascend] permission is ok. 

[Runtime] [2023-12-27 16:22:09] [INFO]: parent_dir value is [/usr] and child_ren_dir value is [local] 

[Runtime] [2023-12-27 16:22:09] [WARNING]: [local] permission isn't right, it should belong to root. 

[Runtime] [2023-12-27 16:22:09] [ERROR]: the given dir, or its parents, permission is invalid. 

[Toolkit] [20231227-16:22:09] [INFO] start uninstall CANN-runtime-1.83.10.1.252-linux.x86_64.run 

[Runtime] [2023-12-27 16:22:10] [INFO]: Start time:2023-12-27 16:22:10 

[Runtime] [2023-12-27 16:22:10] [INFO]: LogFile:/var/log/ascend_seclog/ascend_install.log 

[Runtime] [2023-12-27 16:22:10] [INFO]: InputParams:--quiet --uninstall --install-path=/usr/local/Ascend/ascend-toolkit 

[Runtime] [2023-12-27 16:22:10] [INFO]: OperationLogFile:/var/log/ascend_seclog/operation.log 

[Runtime] [2023-12-27 16:22:10] [WARNING]: base version was destroyed or not exist. 

[Runtime] [2023-12-27 16:22:10] [INFO]: parent_dir value is [/usr/local/Ascend] and child_ren_dir value is [ascend-toolkit] 

[Runtime] [2023-12-27 16:22:10] [INFO]: [ascend-toolkit] belongs to root. 

[Runtime] [2023-12-27 16:22:10] [INFO]: [ascend-toolkit] permission is ok. 

[Runtime] [2023-12-27 16:22:10] [INFO]: parent_dir value is [/usr/local] and child_ren_dir value is [Ascend] 

[Runtime] [2023-12-27 16:22:10] [INFO]: [Ascend] belongs to root. 

[Runtime] [2023-12-27 16:22:10] [INFO]: [Ascend] permission is ok. 

[Runtime] [2023-12-27 16:22:10] [INFO]: parent_dir value is [/usr] and child_ren_dir value is [local] 

[Runtime] [2023-12-27 16:22:10] [WARNING]: [local] permission isn't right, it should belong to root. 

[Runtime] [2023-12-27 16:22:10] [ERROR]: the given dir, or its parents, permission is invalid. 

[Toolkit] [20231227-16:22:10] [INFO]  delete directory /usr/local/Ascend/ascend-toolkit successfully. 

[Toolkit] [20231227-16:22:10] [ERROR] CANN-runtime-1.83.10.1.252-linux.x86_64.run install failed 

[Toolkit] [20231227-16:22:10] [ERROR] package install failed, Please refer to the log for more details: /var/log/ascend_seclog/ascend_toolkit_install.log 

[Toolkit] [20231227-16:22:10] [ERROR] process exit 

请问是什么原因?

终端报错如下:

我要发帖子