安装torch_npu包后报错
收藏回复举报
安装torch_npu包后报错
t('forum.solved') 已解决
新人帖
发表于2023-08-11 15:32:18
0 查看
使用Atlas 200I DK A2开发板安装了anaconda,并且安装了教程中所有所需的依赖。torch版本1.8.1,python版本3.9.7。手动编译了torch_npu的包并且正常安装后想对torch_npu进行验证,在import torch_npu时会报错ImportError: libhccl.so: cannot open shared object file: No such file or directory. Please check that the compiler package is installed. Please run 'source set_env.sh' in the CANN installation path. %E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE%202023-08-11%20152918.png

根据手册输入cann工具路径下的source set_env.sh后依然存在该问题,请问该如何解决?

我要发帖子