title: Trying to use Tensorboard on Google Colab
body: <p>The page below gives informations about Tensorboard:
  <a href="https://pytorch.org/docs/stable/tensorboard.html" rel="nofollow noreferrer">https://pytorch.org/docs/stable/tensorboard.html</a>
  I am using Google Colab and when i write the following
  instructions(which are in the link above):</p>
  <pre><code>!pip install tensorboard
  tensorboard --logdir=runs
  </code></pre>
  <p>it sends me the following error message:</p>
  <pre><code> File &quot;&lt;ipython-input-111-949c7e8e565e&gt;&quot;, line 2
  tensorboard --logdir=runs
                           ^
  SyntaxError: can't assign to operator
  </code></pre>
  <p>so when i copy paste their
  own example:</p>
  <pre><code>from torch.utils.tensorboard import SummaryWriter
  writer = SummaryWriter()
  x = range(100)
  for i in x:
      writer.add_scalar('y=2x', i * 2, i)
  writer.close()
  </code></pre>
  <p>it does not return the expected graph.
  Could someone help me fix this problem?Thank you in advance!</p>