已解决If you cannot immediately regenerate your protos, some other possible workarounds are:

If you cannot immediately regenerate your protos, some other possible workarounds are:1. Downgrade the protobuf package

If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

在跑python代码的时候遇到了上述问题。

只需在终端运行:

pip uninstall protobuf
pip install protobuf==3.19.0

即可解决。

发布者:admin,转转请注明出处:http://www.yc00.com/web/1754349036a5150135.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信