from caffe2.proto import caffe2_pb2
File "/data/anaconda3/envs/pytext/lib/python3.8/site-packages/caffe2/proto/init.py", line 15, in
from caffe2.proto import caffe2_pb2, metanet_pb2, torch_pb2
ImportError: cannot import name 'metanet_pb2' from partially initialized module 'caffe2.proto'
What happened? This could be a description, log output, etc.
// TODO(you): code here to reproduce the problem
I have been trying to get this lib to work for three days. I have tried python 3.5, 3.6, 3.7, and 3.10.
I have tried installing pytext using conda, pip, and build from source.
googling ends up in dead trails where people continue to see the same problem, but previously raised tickets are closed.
Please give indication how to get past this step?
Steps to reproduce
Observed Results
from caffe2.proto import caffe2_pb2 File "/data/anaconda3/envs/pytext/lib/python3.8/site-packages/caffe2/proto/init.py", line 15, in from caffe2.proto import caffe2_pb2, metanet_pb2, torch_pb2 ImportError: cannot import name 'metanet_pb2' from partially initialized module 'caffe2.proto'
Expected Results
I expect pytext to carry out the trainig
Relevant Code
in https://github.com/facebookresearch/Clinical-Trial-Parser.git