python-betterproto icon indicating copy to clipboard operation
python-betterproto copied to clipboard

module 'google.protobuf' has no attribute 'Any'

Open shuyabin opened this issue 1 year ago • 0 comments

Summary

module 'google.protobuf' has no attribute 'Any'

Reproduction Steps

I encountered a problem while creating a protobuf through our plugin AttributeError: module 'google.protobuf' has no attribute 'Any' python:3.12.1 protoc: 26.1 How should I handle it

Expected Results

image image

Actual Results

image is not work

System Information

python:3.12.1 protoc: 26.1 betterproto last

pip install -U --pre betterproto is not work --python_betterproto_out: protoc-gen-python_betterproto: Plugin failed with status code 1.

Checklist

  • [X] I have searched the issues for duplicates.
  • [X] I have shown the entire traceback, if possible.
  • [X] I have verified this issue occurs on the latest prelease of betterproto which can be installed using pip install -U --pre betterproto, if possible.

shuyabin avatar Apr 30 '24 11:04 shuyabin