Module 'tensorboard.util' has no attribute 'persistent op evaluator'

I just installed my tensorboard, but now I get this error when I try to run something.

AttributeError: module 'tensorboard.util' has no attribute 'PersistentOpEvaluator'
tensorflowtensorboard
3 votesJW229.00
2 Answers
NN132.00
2

If you have installed tf-nightly in the same place, then you might have something like this. install tensorboard with sepcific version or you can do:

  1. pip uninstall tensorbaord
  2. pip install tensorbaord==1.12
Reply
JO218.00
3

I got this issue as well, but removing and reinstalling it helped me. I recommend to do this simple steps

  1. pip uninstall tensorflow
  2. pip uninstall tensorflow-gpu
  3. pip uninstall tensorboard
  4. Make sure you removed all files and folders of these packages
  5. Reinstall tensorflow, tensorflow-gpu and tensorboard again
Reply
Couldn't find what you were looking for?and we will find an expert to answer.
How helpful was this page?