title: Which Tensorflow Package for Keras 2.3
body: <p>I am trying to use Keras on my machine but I keep getting the error message 
  "AttributeError: module 'tensorflow.python.keras.backend' has no attribute 'get_graph'". </p>
  
  <p>Stack Trace is:</p>
  
  <pre><code>---------------------------------------------------------------------------
   AttributeError                            Traceback (most recent call last)
  &lt;ipython-input-1-dd13cebc6f04&gt; in &lt;module&gt;
  ----&gt; 1 import acgan
  
  ~/Documents/GitHub/Keras-GAN/acgan/acgan.py in &lt;module&gt;
    1 from __future__ import print_function, division
    2 
   ----&gt; 3 from keras.datasets import mnist
    4 from keras.layers import Input, Dense, Reshape, Flatten, Dropout, multiply
    5 from keras.layers import BatchNormalization, Activation, Embedding, ZeroPadding2D
  
  /anaconda3/lib/python3.6/site-packages/keras/__init__.py in &lt;module&gt;
    1 from __future__ import absolute_import
    2 
   ----&gt; 3 from . import utils
    4 from . import activations
    5 from . import applications
  
  /anaconda3/lib/python3.6/site-packages/keras/utils/__init__.py in &lt;module&gt;
    4 from . import data_utils
    5 from . import io_utils
   ----&gt; 6 from . import conv_utils
    7 from . import losses_utils
    8 from . import metrics_utils
  
   /anaconda3/lib/python3.6/site-packages/keras/utils/conv_utils.py in &lt;module&gt;
    7 from six.moves import range
    8 import numpy as np
    ----&gt; 9 from .. import backend as K
   10 
   11 
  
   /anaconda3/lib/python3.6/site-packages/keras/backend/__init__.py in &lt;module&gt;
   ----&gt; 1 from .load_backend import epsilon
    2 from .load_backend import set_epsilon
    3 from .load_backend import floatx
    4 from .load_backend import set_floatx
    5 from .load_backend import cast_to_floatx
  
   /anaconda3/lib/python3.6/site-packages/keras/backend/load_backend.py in &lt;module&gt;
   88 elif _BACKEND == 'tensorflow':
   89     sys.stderr.write('Using TensorFlow backend.\n')
   ---&gt; 90     from .tensorflow_backend import *
   91 else:
   92     # Try and load external backend.
  
   /anaconda3/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py in &lt;module&gt;
   52 
   53 # Private TF Keras utils
   ---&gt; 54 get_graph = tf_keras_backend.get_graph
   55 # learning_phase_scope = tf_keras_backend.learning_phase_scope  # 
  TODO
   56 name_scope = tf.name_scope
  
  AttributeError: module 'tensorflow.python.keras.backend' has no attribute 'get_graph'
  </code></pre>
  
  <p>I googled the issue and found this </p>
  
  <p><a href="https://forums.xilinx.com/t5/Deephi-DNNDK/Module-tensorflow-python-keras-backend-has-no-attribute-get/td-p/1022555" rel="nofollow noreferrer">https://forums.xilinx.com/t5/Deephi-DNNDK/Module-tensorflow-python-keras-backend-has-no-attribute-get/td-p/1022555</a> </p>
  
  <p>which tells me that it is tensorflow version related, but not which version to use. I am using Python3 on MacOS.</p>
  
  <p>Thank you for your help.</p>