title: No module named 'tensorflow.keras.layers.experimental.preprocessing'
body: <p><strong>Below the code</strong></p>
  <pre><code>import numpy as np
  np.random.seed(0)
  from sklearn import datasets
  import matplotlib.pyplot as plt
  %matplotlib inline
  %config InlineBackend.figure_format ='retina'
  
  from keras.models import Sequential
  from keras.layers import Dense
  from keras.optimizers import SGD
  </code></pre>
  <p><strong>below the Error message</strong></p>
  <pre><code>---------------------------------------------------------------------------
  ModuleNotFoundError                       Traceback (most recent call last)
  ~\Anaconda3\lib\site-packages\keras\__init__.py in &lt;module&gt;
        2 try:
  ----&gt; 3     from tensorflow.keras.layers.experimental.preprocessing import RandomRotation
        4 except ImportError:
  
  ModuleNotFoundError: No module named 'tensorflow.keras.layers.experimental.preprocessing'
  
  During handling of the above exception, another exception occurred:
  
  ImportError                               Traceback (most recent call last)
  &lt;ipython-input-5-943507dd87a6&gt; in &lt;module&gt;
        6 get_ipython().run_line_magic('config', &quot;InlineBackend.figure_format ='retina'&quot;)
        7 
  ----&gt; 8 from keras.models import Sequential
        9 from keras.layers import Dense
       10 from keras.optimizers import SGD
  
  ~\Anaconda3\lib\site-packages\keras\__init__.py in &lt;module&gt;
        4 except ImportError:
        5     raise ImportError(
  ----&gt; 6         'Keras requires TensorFlow 2.2 or higher. '
        7         'Install TensorFlow via `pip install tensorflow`')
        8 
  
  ImportError: Keras requires TensorFlow 2.2 or higher. Install TensorFlow via `pip install tensorflow
  </code></pre>
  <p><strong>Note:`</strong> I think, the main problem is Tensorflow version. I used somes command and that's are bellow,</p>
  <pre><code>conda create -n tf tensorflow
  conda activate tf
  </code></pre>
  <p><strong>and I also used the below command</strong></p>
  <pre><code>conda create -n tf-gpu tensorflow-gpu
  conda activate tf-gpu
  </code></pre>
  <p>But it don't works , Please help for solve the error.</p>