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?

tensorflowtensorboard
3 votesJO218.00
2 Answers
JW229.00
2

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

Reply
NN132.00
3

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
Reply
Couldn't find what you were looking for?and we will find an expert to answer.
How helpful was this page?