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   Angry_Panda  阅读(247)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· winform 绘制太阳,地球,月球 运作规律
· AI与.NET技术实操系列(五):向量存储与相似性搜索在 .NET 中的实现
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
· 上周热点回顾(3.3-3.9)
· AI 智能体引爆开源社区「GitHub 热点速览」
历史上的今天:
2021-08-10 【转载】 从零开始编写一个简单的Linux文件系统

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示