title: TypeError: 'module' object is not callable. keras
body: <p><strong>System information</strong><br>
  - Windows 10<br>
  - TensorFlow backend (yes / no):  yes<br>
  - TensorFlow version:  1.14.0<br>
  - Keras version:  2.24<br>
  - Python version:  3.6<br>
  - CUDA/cuDNN version:  10<br>
  - GPU model and memory:  gtx 1050 ti  </p>
  
  <p><strong>Describe the current behavior</strong><br>
  I installed tensoflow and keras via conda. Then i tried to run this code:</p>
  
  <pre><code>import tensorflow as tf
  import keras
  import numpy as np
  
  model = keras.Sequential([keras.layers(units=1, input_shape=[1])])
  
  model.compile(optimizer="sgd", loss="mean_squared_error")
  
  x = np.array([-1, 0, 1, 2, 3, 4])
  y = np.array([-3, -1, 1, 3, 5, 7])
  
  model.fit(x, y, epochs=500)
  
  print(model.predict([10]))`
  </code></pre>
  
  <p>When i run this code I get the error:  </p>
  
  <pre><code>Using TensorFlow backend.
  Traceback (most recent call last):
    File "C:/Users/xxx/PycharmProjects/Workspace/tensorflow/hello_world_of_nn.py", line 5, in &lt;module&gt;
      model = keras.Sequential([keras.layers(units=1, input_shape=[1])])
  TypeError: 'module' object is not callable
  </code></pre>
  
  <p>When i try this:<br>
  <code>python -c 'import keras as k; print(k.__version__)'</code></p>
  
  <p>I get the error:  </p>
  
  <pre><code>C:\Users\xxx&gt;python -c 'import keras as k; print(k.__version__)'
    File "&lt;string&gt;", line 1
      'import
            ^
  SyntaxError: EOL while scanning string literal
  </code></pre>