1. Downgrade the protobuf package to 3. or lower.

时间:2024-10-26 08:31:37

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

  1. Downgrade the protobuf package to 3. 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即可。