在安装MIndSpore过程中,报如下错误:
subprocess.CalledProcessError: Command ‘(‘lsb_release’, ‘-a’)’ returned non-zero exit status 1.
在这里插入图片描述
解决办法:

sudo mv /usr/bin/lsb_release /usr/bin/lsb_release_back

正常安装

运行过程再次报错

ERROR: grpcio-tools 1.33.2 has requirement protobuf<4.0dev,>=3.5.0.post1, but you’ll have protobuf 4.23.0 which is incompatible.

是因为安装第三方库protobuf时报错,独自安装protobuf

pip3 install protobuf==3.13.0 

就可以安装成功
在这里插入图片描述

Logo

鲲鹏昇腾开发者社区是面向全社会开放的“联接全球计算开发者,聚合华为+生态”的社区,内容涵盖鲲鹏、昇腾资源,帮助开发者快速获取所需的知识、经验、软件、工具、算力,支撑开发者易学、好用、成功,成为核心开发者。

更多推荐