[libprotobuf FATAL google/protobuf/stubs/common.cc:83] This program was compiled against version 3.9.2 of the Protocol Buffer runtime library, which is not compatible with the installed version (3.20.1). Contact the program author for an update. 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 "bazel-out/k8-opt/bin/tensorflow/core/framework/tensor_shape.pb.cc".)
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): This program was compiled against version 3.9.2 of the Protocol Buffer runtime library, which is not compatible with the installed version (3.20.1). Contact the program author for an update. 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 "bazel-out/k8-opt/bin/tensorflow/core/framework/tensor_shape.pb.cc".)
*** SIGABRT received at time=1652294159 on cpu 2 ***
PC: @ 0x7f98057c6e87 (unknown) raise
@ 0x7f9805b8b980 (unknown) (unknown)
@ 0x736177206d617267 (unknown) (unknown)
[2022-05-11 20:35:59,564 E 25630 25630] logging.cc:325: *** SIGABRT received at time=1652294159 on cpu 2 ***
[2022-05-11 20:35:59,564 E 25630 25630] logging.cc:325: PC: @ 0x7f98057c6e87 (unknown) raise
[2022-05-11 20:35:59,566 E 25630 25630] logging.cc:325: @ 0x7f9805b8b980 (unknown) (unknown)
[2022-05-11 20:35:59,569 E 25630 25630] logging.cc:325: @ 0x736177206d617267 (unknown) (unknown)
Fatal Python error: Aborted
Stack (most recent call first):
File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 1043 in create_module
File "<frozen importlib._bootstrap>", line 583 in module_from_spec
File "<frozen importlib._bootstrap>", line 670 in _load_unlocked
File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 983 in _find_and_load
File "/media/work2/lishijie/miniconda/envs/pgp/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 64 in <module>
File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 728 in exec_module
File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 983 in _find_and_load
File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1035 in _handle_fromlist
File "/media/work2/lishijie/miniconda/envs/pgp/lib/python3.7/site-packages/tensorflow/python/pywrap_tfe.py", line 28 in <module>
File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 728 in exec_module
File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 983 in _find_and_load
File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1035 in _handle_fromlist
File "/media/work2/lishijie/miniconda/envs/pgp/lib/python3.7/site-packages/tensorflow/python/eager/context.py", line 35 in <module>
File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 728 in exec_module
File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 983 in _find_and_load
File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1035 in _handle_fromlist
File "/media/work2/lishijie/miniconda/envs/pgp/lib/python3.7/site-packages/tensorflow/python/__init__.py", line 40 in <module>
File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 728 in exec_module
File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 983 in _find_and_load
File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 953 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 983 in _find_and_load
File "/media/work2/lishijie/miniconda/envs/pgp/lib/python3.7/site-packages/tensorflow/__init__.py", line 41 in <module>
File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 728 in exec_module
File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 983 in _find_and_load
File "/media/work2/lishijie/miniconda/envs/pgp/lib/python3.7/site-packages/tensorboard/compat/__init__.py", line 45 in tf
File "/media/work2/lishijie/miniconda/envs/pgp/lib/python3.7/site-packages/tensorboard/lazy.py", line 50 in load_once
File "/media/work2/lishijie/miniconda/envs/pgp/lib/python3.7/site-packages/tensorboard/lazy.py", line 97 in wrapper
File "/media/work2/lishijie/miniconda/envs/pgp/lib/python3.7/site-packages/tensorboard/lazy.py", line 65 in __getattr__
File "/media/work2/lishijie/miniconda/envs/pgp/lib/python3.7/site-packages/tensorboard/summary/writer/event_file_writer.py", line 72 in __init__
File "/media/work2/lishijie/miniconda/envs/pgp/lib/python3.7/site-packages/torch/utils/tensorboard/writer.py", line 62 in __init__
File "/media/work2/lishijie/miniconda/envs/pgp/lib/python3.7/site-packages/torch/utils/tensorboard/writer.py", line 252 in _get_file_writer
File "/media/work2/lishijie/miniconda/envs/pgp/lib/python3.7/site-packages/torch/utils/tensorboard/writer.py", line 221 in __init__
File "train.py", line 33 in <module>
Aborted (core dumped)
However, I configure the environment according to the README, and if I directly install protobuf==3.9.2 there still exists other conflicts make the code cannot run.
Package Version
---------------------------- -------------------
absl-py 1.0.0
aiosignal 1.2.0
argon2-cffi 21.3.0
argon2-cffi-bindings 21.2.0
astunparse 1.6.3
attrs 21.4.0
backcall 0.2.0
beautifulsoup4 4.11.1
bleach 5.0.0
cached-property 1.5.2
cachetools 5.0.0
certifi 2021.10.8
cffi 1.15.0
charset-normalizer 2.0.12
click 8.1.3
cycler 0.11.0
debugpy 1.6.0
decorator 5.1.1
defusedxml 0.7.1
descartes 1.1.0
distlib 0.3.4
entrypoints 0.4
fastjsonschema 2.15.3
filelock 3.6.0
fire 0.4.0
flatbuffers 2.0
fonttools 4.33.3
frozenlist 1.3.0
gast 0.3.3
google-auth 2.6.6
google-auth-oauthlib 0.4.6
google-pasta 0.2.0
grpcio 1.43.0
h5py 2.10.0
idna 3.3
importlib-metadata 4.11.3
importlib-resources 5.7.1
ipykernel 6.13.0
ipython 7.33.0
ipython-genutils 0.2.0
ipywidgets 7.7.0
jedi 0.18.1
Jinja2 3.1.2
joblib 1.1.0
jsonschema 4.5.1
jupyter 1.0.0
jupyter-client 7.3.1
jupyter-console 6.4.3
jupyter-core 4.10.0
jupyterlab-pygments 0.2.2
jupyterlab-widgets 1.1.0
keras 2.8.0
Keras-Preprocessing 1.1.2
kiwisolver 1.4.2
libclang 14.0.1
Markdown 3.3.7
MarkupSafe 2.1.1
matplotlib 3.5.2
matplotlib-inline 0.1.3
mistune 0.8.4
mkl-fft 1.3.1
mkl-random 1.2.2
mkl-service 2.4.0
msgpack 1.0.3
nbclient 0.6.3
nbconvert 6.5.0
nbformat 5.4.0
nest-asyncio 1.5.5
notebook 6.4.11
numpy 1.18.5
nuscenes-devkit 1.1.9
oauthlib 3.2.0
opencv-python 4.5.5.64
opt-einsum 3.3.0
packaging 21.3
pandocfilters 1.5.0
parso 0.8.3
pexpect 4.8.0
pickleshare 0.7.5
Pillow 9.1.0
pip 21.2.2
platformdirs 2.5.2
positional-encodings 4.0.0
prometheus-client 0.14.1
prompt-toolkit 3.0.29
protobuf 3.20.1
psutil 5.9.0
ptyprocess 0.7.0
pyasn1 0.4.8
pyasn1-modules 0.2.8
pycocotools 2.0.4
pycparser 2.21
Pygments 2.12.0
pyparsing 3.0.9
pyquaternion 0.9.9
pyrsistent 0.18.1
python-dateutil 2.8.2
PyYAML 6.0
pyzmq 22.3.0
qtconsole 5.3.0
QtPy 2.1.0
ray 1.12.0
requests 2.27.1
requests-oauthlib 1.3.1
rsa 4.8
scikit-learn 1.0.2
scipy 1.4.1
Send2Trash 1.8.0
setuptools 61.2.0
Shapely 1.8.2
six 1.16.0
soupsieve 2.3.2.post1
tensorboard 2.8.0
tensorboard-data-server 0.6.1
tensorboard-plugin-wit 1.8.1
tensorflow 2.3.0
tensorflow-estimator 2.3.0
tensorflow-gpu 2.3.0
tensorflow-io-gcs-filesystem 0.25.0
termcolor 1.1.0
terminado 0.13.3
tf-estimator-nightly 2.8.0.dev2021122109
threadpoolctl 3.1.0
tinycss2 1.1.1
torch 1.11.0
torchaudio 0.7.0a0+a853dff
torchvision 0.8.0a0
tornado 6.1
tqdm 4.64.0
traitlets 5.2.0
typing_extensions 4.2.0
urllib3 1.26.9
virtualenv 20.14.1
wcwidth 0.2.5
webencodings 0.5.1
Werkzeug 2.1.2
wheel 0.37.1
widgetsnbextension 3.6.0
wrapt 1.14.1
zipp 3.8.0