Search code examples
pythontensorflowtensorboard

AttributeError: module 'tensorflow._api.v1.compat.v1' has no attribute 'pywrap_tensorflow'


After trying to run tensorboard --logdir dump_dir I get AttributeError: module 'tensorflow._api.v1.compat.v1' has no attribute 'pywrap_tensorflow'

Tensorboard version:

TensorBoard 1.13.1

python -c "from tensorboard import version; print(version.VERSION)"
1.13.1

Tensorflow version:

python -c "import tensorflow; print(tensorflow.__version__)"
1.14.0-rc1

I have builded tensorflow from source, is it version mismatch?


Solution

  • Seems pip3 install --upgrade tensorboard helped.