title: ModuleNotFoundError: No module named 'six.moves.collections_abc'
body: <p>i am just starting with machine learning i am following <a href="https://www.youtube.com/watch?v=CbXj7091OWA" rel="nofollow noreferrer">this tutorial</a> from Weights&amp;Bias where they gave us  some code and asked to run it i am unable to run the code</p>
  <p>First I was getting the error</p>
  <blockquote>
  <p>Keras requires TensorFlow 2.2 or higher</p>
  </blockquote>
  <p>for which I tried this method</p>
  <p>Following the advice given here, downgrading Keras did the trick for me without having to touch any other packages. Just do:</p>
  <pre><code>pip install keras==2.3.0
  </code></pre>
  <p>from this link</p>
  <p><a href="https://stackoverflow.com/questions/62465620/error-keras-requires-tensorflow-2-2-or-higher">Error &quot;Keras requires TensorFlow 2.2 or higher&quot;</a></p>
  <p>then I started getting the error</p>
  <pre><code>Using TensorFlow backend.
  Traceback (most recent call last):
  File &quot;perceptron-single.py&quot;, line 6, in &lt;module&gt;
  import wandb
  File &quot;C:\Users\hp\AppData\Local\Programs\Python\Python37\lib\site-packages\wandb\__init__.py&quot;, line 37, in &lt;module&gt;
  from wandb import sdk as wandb_sdk
  File &quot;C:\Users\hp\AppData\Local\Programs\Python\Python37\lib\site-packages\wandb\sdk\__init__.py&quot;, line 9, in &lt;module&gt;
  from .wandb_config import Config  # noqa: F401
  File &quot;C:\Users\hp\AppData\Local\Programs\Python\Python37\lib\site-packages\wandb\sdk\wandb_config.py&quot;, line 10, in &lt;module&gt;
  from six.moves.collections_abc import Sequence
  *ModuleNotFoundError: No module named 'six.moves.collections_abc'
  </code></pre>
  <p>for which I tried this method</p>
  <pre><code>easy_install six
  </code></pre>
  <p>from this link</p>
  <p><a href="https://stackoverflow.com/questions/13967428/importerror-no-module-named-six">ImportError: No module named six</a></p>
  <p>but it did not solve my issue</p>