python报错:If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0

相关:

https://stackoverflow.com/questions/72441758/typeerror-descriptors-cannot-not-be-created-directly



解决方法(已验证):

pip install protobuf==3.19



第二种解决方法(未验证):

export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python



posted on 2024-08-10 08:40  Angry_Panda  阅读(19)  评论(0编辑  收藏  举报

导航