title: Error while import keras: AttributeError: module 'tensorflow.compat.v2.__internal__' has no attribute 'register_clear_session_function'
body: <p>I want to <code>import keras</code> after I did <code>pip install keras</code>, but it shows message as shown below. I even can't call any function from keras library. Can anyone know about this?</p>
  <pre><code>import keras
  </code></pre>
  <p>Error:</p>
  <pre><code>AttributeError: module 'tensorflow.compat.v2.__internal__' has no attribute 'register_clear_session_function'
  </code></pre>