attributeError:模块' google._upb._message'没有属性'消息'

发布于 2025-01-29 20:36:43 字数 311 浏览 1 评论 0原文

https://developers.google.com/protocol -buffers/docs/news/2022-05-06#python-updates

Google在协议缓冲区中对Python语言支持进行了一些更改,因此发生的一个错误是此问题的标题,解决方案只是为了降级。到较早版本

https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

Google has made some changes in Python language support in Protocol Buffers so one bug that occurs is the title of this question, the solution was just to downgrade to an earlier version

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

勿忘初心 2025-02-05 20:36:43

如果这个错误,解决方案是降级Protobuf
刚刚添加了protobuf == 3.20.1

Had this error, solution was to downgrade protobuf
just added protobuf==3.20.1 to requirements.txt

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文