I have been using protobuf3 for a while and it works most of time, until I try to use package google.protobuf.timestamp.
protoc -I=. --python3_out=. protobuftest.proto
Traceback (most recent call last):
File "/usr/local/bin/protoc-gen-python3", line 36, in <module>
compiler = Compiler(desc_map[file_name], top_level_elements)
File "/usr/local/lib/python3.5/dist-packages/protobuf3/compiler/__init__.py", line 54, in __init__
self.process_message(message)
File "/usr/local/lib/python3.5/dist-packages/protobuf3/compiler/__init__.py", line 104, in process_message
File "/usr/local/lib/python3.5/dist-packages/protobuf3/compiler/__init__.py", line 148, in process_field
file_to_import = splitext(self.__tle_map[top_level_name])[0].replace('/', '.')
KeyError: 'google'
--python3_out: protoc-gen-python3: Plugin failed with status code 1.
Thanks a lot for your help.