You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
报错提示:
TypeError: Descriptors cannot 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.
If you cannot immediately regenerate your protos, some other possible workarounds are:
Downgrade the protobuf package to 3.20.x or lower.
Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
因为环境需要,上面提到的降低protobuf版本和使用纯python解析这两种方式无法修改,请问是否还有其他可行的方法?
版本&环境信息 Version & Environment Information
paddlepaddle version: 2.6.2
The text was updated successfully, but these errors were encountered:
问题描述 Issue Description
报错提示:
TypeError: Descriptors cannot 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.
If you cannot immediately regenerate your protos, some other possible workarounds are:
因为环境需要,上面提到的降低protobuf版本和使用纯python解析这两种方式无法修改,请问是否还有其他可行的方法?
版本&环境信息 Version & Environment Information
paddlepaddle version: 2.6.2
The text was updated successfully, but these errors were encountered: