This repository was archived by the owner on Aug 30, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 64
import error #106
Copy link
Copy link
Open
Description
When I run
import onnx
import onnx_caffe2.backend
I got
[libprotobuf FATAL google/protobuf/stubs/common.cc:61] This program requires version 3.4.0 of the Protocol Buffer runtime library, but the installed version is 2.6.1. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "google/protobuf/any.pb.cc".)
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): This program requires version 3.4.0 of the Protocol Buffer runtime library, but the installed version is 2.6.1. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "google/protobuf/any.pb.cc".)
Aborted (core dumped)`
However,when I check,
$ protoc --version
libprotoc 3.4.0
Besides,I can run import torch.onnx and import onnx_caffe2.backend independently,but cannot run together. Note that I have successfully installed caffe2 as instruction.
Anyone can help with it?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels