Pytorch Tensorboard logging requires TensorBoard version 1.15 Import Error

So I have a similar problem to other people on this logging version error, except the previously posted solutions are not working for me. I just fresh installed pytorch using official site instructions then pip3 install tensorboard==1.15.0. I do not have tensorflow or tf-gpu installed.

python            3.6
pytorch           1.60+cu101
torchvision       0.7.0+cu101
tensorboard       1.15.0
cuda              10.1
nvidia driver     450.51.06
ubuntu            18.04

Having both tensorboard and pytorch throws the following error:

>>> from torch.utils import tensorboard
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/usrname/.local/lib/python3.6/site-packages/torch/utils/tensorboard/__init__.py", line 4, in <module>
    raise ImportError('TensorBoard logging requires TensorBoard version 1.15 or above')
ImportError: TensorBoard logging requires TensorBoard version 1.15 or above
>>> 

If I uninstall tensorboard with python3 -m pip uninstall tensorboard and pytorch with python3 -m pip uninstall torch (x2) and then reinstall pytorch, I get the same error.

Hi, I am having the same issue. Have you found a way to solve it by any chance?

Double post from here which cannot be reproduced in the latest stable release.