Visulaizing Tensorboard in pytorch

Hi, would you please tell me which package should I install that I can run
from torch.utils.tensorboard import SummaryWriter


from tensorboard import SummaryWriter

to visualize my graph in tensorboard?
I installed a tone of packages and still, these two commands are unknown in my notebook!
Shouldn’t it have been mentioned somewhere in PyTorch tutorials or Docs!

from torch.utils.tensorboard import SummaryWriter is right, you can see it here: TORCH.UTILS.TENSORBOARD. Maybe your notebook’s environment is not correct.

This command is not known in my notebook, despite I have PyTorch installed.

What is your pytorch’s version? It should be higher than 1.2.

pytorch version 1.5.1

Try checking if you have tensorboard installed.

I installed tensorboard but still got the error

ImportError: TensorBoard logging requires TensorBoard with Python summary writer installed```
When i try to use the command

```from torch.utils.tensorboard import SummaryWriter```

Can you import tensorboard in python command line?