Hi,
I have installed caffe following the instructions in https://github.com/weiliu89/caffe/tree/ssd. Then I open Python and type import caffe and I get the following error:
Failed to include caffe_pb2, things might go wrong!
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/eduardo/dev/caffe/python/caffe/__init__.py", line 4, in <module>
from .proto.caffe_pb2 import TRAIN, TEST
File "/home/eduardo/dev/caffe/python/caffe/proto/caffe_pb2.py", line 22, in <module>
create_key=_descriptor._internal_create_key,
AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key'
Any ideas?
Thank you in advance for your help
My protobuf version is 3.13.0
My python version is 3.8.5
My OS is Ubuntu 20.04
The steps for the installation have been: