Skip to content Skip to sidebar Skip to footer

Attributeerror: Module 'tensorboard.util' Has No Attribute 'persistentopevaluator' , When Trying To Use Tensorboard

I made some log files using tensorboard but I can't access them. Using tensorboard or tensorboard --logdir=logs/ on the command prompt gives the following error:- C:\Users\User>

Solution 1:

I also had a big fight with this problem. What eventually worked for me was the following:

  1. pip uninstall tensorflow
  2. pip uninstall tensorboard
  3. conda show OR pip show --> have a look at which other tensorflow related packages you have installed and remove them.
  4. Go to site-packages and remove tensorflow/tensorboard folders (look for any folder in your filesystem related to a tensorflow / tensorboard installation)
  5. conda clean --all (not sure if this is necessary, but it was one of my steps and might be relevant)
  6. Reinstall tensorflow and tensorboard. Preferably use conda as it is faster by several orders of magnitude

One of my main sources in solving this issue was this github issue thread: https://github.com/tensorflow/tensorboard/issues/1724

Solution 2:

Try to install these packages with Conda Run:

conda install -c anaconda tensorflow-gpu 

conda install -c anaconda keras

Post a Comment for "Attributeerror: Module 'tensorboard.util' Has No Attribute 'persistentopevaluator' , When Trying To Use Tensorboard"