ImportError: cannot import name 'extension

it2022-05-05  123

出现这个错误的原因是protobuf3里禁用了这个函数,所以解决办法是卸载protobuf3,安装protobuf2

conda uninstall protobuf pip uninstall protobuf pip install protobuf==2.6.1

最新回复(0)