reverb: Error import reverb
Hello,
I cannot import a self-built release version of dm_reverb-0.1.0-cp36-cp36m-linux_aarch64.whl.
System information
Host OS: Ubuntu 18.04.5 LTS Tensorflow: 2.3.1 GCC: 7.5.0 Python: 3.6.9
Result
>>> import tensorflow as tf
2021-07-15 17:54:33.353847: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.10.2
>>> tf.__version__
'2.3.1'
>>> import reverb
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/ubuntu/.local/lib/python3.6/site-packages/reverb/__init__.py", line 27, in <module>
from reverb import item_selectors as selectors
File "/home/ubuntu/.local/lib/python3.6/site-packages/reverb/item_selectors.py", line 19, in <module>
from reverb import pybind
File "/home/ubuntu/.local/lib/python3.6/site-packages/reverb/pybind.py", line 1, in <module>
import tensorflow as _tf; from .libpybind import *; del _tf
ImportError: /home/ubuntu/.local/lib/python3.6/site-packages/reverb/libschema_cc_proto.so: undefined symbol: _ZNK6google8protobuf7Message25InitializationErrorStringEv
>>>
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 30
Got it. So judging from this you should compile reverb with the cxx11 abi. In particular, you should modify the following line in
.bazelrcbefore building:change it to…