重新进去应用protobuf会变
回答
收藏

重新进去应用protobuf会变

w
waller_定制rpa
2025-05-13 12:03·浏览量:153
w
waller_定制rpa
发布于 2025-05-13 12:03153浏览

项目用到protobuf依赖,因为版本高要降低,安装指定版本依赖后重新进入会自动安装高版本依赖导致错误重现,

应该如何解决

Descriptors cannot not be created directly.,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.,,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)., https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates





尝试过的方案

安装指定的protobuf

收藏
全部回答1
最新
发布回答
回答