title: Error importing tensorflow "AlreadyExistsError: Another metric with the same name already exists."
body: <p>I am running this simple code on Spyder 3.3 with Python 3.7 and Tensorlow 2.0:</p>
  
  <pre><code>import tensorflow as tf
  print(tf.__version__)
  </code></pre>
  
  <p>When I try to run it again in the same IPython console, I get the following error:</p>
  
  <blockquote>
    <p>File "/home/rodrigo/.local/lib/python3.7/site-packages/tensorflow_core/python/eager/monitoring.py", line 121, in <strong>init</strong>
        self._metric = self._metric_methods[self._label_length].create(*args)</p>
    
    <p>AlreadyExistsError: Another metric with the same name already exists.</p>
  </blockquote>
  
  <p>If I close the IPython console, and then open it again, it works fine. I am getting this error in every code that imports Tensorflow. <strong>Does anyone know how to solve this?</strong></p>
  
  <p>System configuration:</p>
  
  <ul>
  <li>Ubuntu 19.04 </li>
  <li>Spyder 3.3.2</li>
  <li>Python 3.7.3</li>
  <li>IPython 5.8.0</li>
  <li>TensorFlow 2.0.0-rc2</li>
  </ul>