Discussions>AttributeError: module 'tensorboard' has no attribute 'lazy'>

AttributeError: module 'tensorboard' has no attribute 'lazy'

I'm using tensorboard, but getting this error.

import tensorboard.lazy as _lazy
AttributeError: module 'tensorboard' has no attribute 'lazy'

Why I'm getting this, when I try to call tensorboard?

3 votesJO297.00
2 Answers

Yea, the problem is related to tb-nightly. There can't be installed both at the same time. 
here is a github link for this issue: https://github.com/tensorflow/tensorboard/issues/1907


Make sure you check the build version of tensorboard. The contributors say it's about tb-nightly build. If you installed it for both version, then you can meet this error. I recommend you to remove tensorboard complitely and install again.

  1. pip uninstall tensorboard
  2. Install tensorboard again
Couldn't find what you were looking for?and we will find an expert to answer.
How helpful was this page?