Tensorboard: AttributeError: module 'tensorflow' has no attribute 'estimator'

Created on 27 Mar 2019  路  3Comments  路  Source: tensorflow/tensorboard

Hi,

I get the following error when I run tensorboard:

class BeholderHook(tf.estimator.SessionRunHook):
AttributeError: module 'tensorflow' has no attribute 'estimator'

Here is the setup info:

Windows 10
Python 3.6.8
conda 4.6.8
tensorboard 1.13.1
tensorflow-base 1.13.1
tensorflow-estimator 1.13.0
tensorflow-gpu 1.13.1

Does anyone know how to fix this? I have tried most of the solutions on stackexchange, but nothing has worked so far.

awaiting response support

Most helpful comment

Hi, please follow below steps and check if you are still running into this issue.

1) Uninstall tensorflow, tensorboard
2) Uninstall tb-nightly(if it is installed)
3) Use "pip freeze | grep tensorflow" to check if tensorflow-estimator package has been installed. If so, uninstall it.
4) Go to site-packages and remove all tensorflow folders related to tensorflow, tensorboard, tensorflow-estimator etc
5) Reinstall the latest versions of tensorflow and tensorboard

All 3 comments

I guess reinstall everything with higher versions.

Hi, please follow below steps and check if you are still running into this issue.

1) Uninstall tensorflow, tensorboard
2) Uninstall tb-nightly(if it is installed)
3) Use "pip freeze | grep tensorflow" to check if tensorflow-estimator package has been installed. If so, uninstall it.
4) Go to site-packages and remove all tensorflow folders related to tensorflow, tensorboard, tensorflow-estimator etc
5) Reinstall the latest versions of tensorflow and tensorboard

Closing the issue. Please keep us posted(by providing more details) if the above solution didn't work.
Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

OverLordGoldDragon picture OverLordGoldDragon  路  3Comments

yaroslavvb picture yaroslavvb  路  4Comments

wengqi123 picture wengqi123  路  3Comments

smatsumori picture smatsumori  路  4Comments

decentralion picture decentralion  路  3Comments