赞
踩
在安装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
就可以安装成功
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。