AttributeError:模块“ tensorflow._api.v1.compat.v1”没有属性“ pywrap_tensorflow”

时间:2019-07-19 20:03:55

标签: python tensorflow tensorboard

尝试运行tensorboard --logdir dump_dir后,我得到AttributeError: module 'tensorflow._api.v1.compat.v1' has no attribute 'pywrap_tensorflow'

Tensorboard版本:

TensorBoard 1.13.1

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

Tensorflow版本:

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

我从源头构建了张量流,版本不匹配吗?

1 个答案:

答案 0 :(得分:0)

似乎pip3 install --upgrade tensorboard有所帮助。