1. Downgrade the protobuf package to 3.20.x or lower.

安装百度飞浆环境,在完成安装后进行安装验证时,输入import paddle ,报错:

  1. Downgrade the protobuf package to 3.20.x or lower.

解决办法:
1、进入你创建的conda环境

conda activate Paddle_tutorial

2、卸载protobuf

pip uninstall protobuf

3、安装低版本protobuf

pip install protobuf==3.19.0

提示Successfully installed protobuf-3.19.0即可。

你可能感兴趣的:(百度,飞浆,paddle,python,protobuf)