tf2 tensorboard has no attribute '_write_logs' code example
Example 1: AttributeError: module 'tensorboard.lazy' has no attribute 'lazy_load'
pip install tensorboard==1.14.0
Example 2: AttributeError: module 'tensorboard.lazy' has no attribute 'lazy_load'
pip install tensorflow-tensorboard==1.5.1