Today TensorFlow released version 2.5.0 which seems to have led to importing reverb failing with the error below (achieved by opening a Python (3.8.5) REPL and trying the import).
>>> import reverb
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.8/dist-packages/reverb/__init__.py", line 27, in <module>
from reverb import item_selectors as selectors
File "/usr/local/lib/python3.8/dist-packages/reverb/item_selectors.py", line 19, in <module>
from reverb import pybind
File "/usr/local/lib/python3.8/dist-packages/reverb/pybind.py", line 1, in <module>
import tensorflow as _tf; from .libpybind import *; del _tf
ImportError: /usr/local/lib/python3.8/dist-packages/reverb/libpybind.so: undefined symbol: _ZN4absl14lts_2020_02_2518container_internal18global_next_sampleE
Reproduction Steps
pip install dm-reverb[tensorflow]
Open Python REPL and try import reverb
Current Workaround
Fix TensorFlow to version 2.4.*
Expected Behaviour
Import to work without issue.
Note: No problem when using dm-reverb-nightly[tensorflow] (This is because it installs TensorFlow version 2.6.0-dev20210514)
Today TensorFlow released version 2.5.0 which seems to have led to importing reverb failing with the error below (achieved by opening a Python (3.8.5) REPL and trying the import).
Reproduction Steps
pip install dm-reverb[tensorflow]
import reverb
Current Workaround Fix TensorFlow to version
2.4.*
Expected Behaviour Import to work without issue.
Note: No problem when using
dm-reverb-nightly[tensorflow]
(This is because it installs TensorFlow version2.6.0-dev20210514
)