pip uninstall protobuf
sudo pip install protobuf==3.13.0#失败了,安装的还是3.18.0
pip show protobuf #查看版本,用的whl文件,在安装的时候会有显示
pip install protobuf-3.13.0-cp27-cp27mu-manylinux1_x86_64.whl
pip show protobuf
Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐