title: How do I solve this Open AI gym installation problem?
body: <pre><code>git clone https://github.com/openai/gym
      cd gym
      pip install -e .
  </code></pre>
  <p>When I follow the documentation for installation it throws this error:</p>
  <pre><code>Failed to build box2d-py mujoco-py
  DEPRECATION: Could not build wheels for box2d-py, mujoco-py which do not use PEP 517. pip will fall back to legacy 'setup.py install' for these. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at https://github.com/pypa/pip/issues/8368.
  Installing collected packages: box2d-py, glfw, Cython, imageio, lockfile, mujoco-py, gym
      Running setup.py install for box2d-py ... error
  </code></pre>
  <p>I have seen others having the same issues however they suggested that I must uninstall python 2.7 and use only python 3.
  I have checked my python version and it is only 3.7 and no other versions are available so can someone help me out.</p>
  <pre><code>ERROR: Command errored out with exit status 1:
     command: 'c:\users\m\.conda\envs\tensorflow\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '&quot;'&quot;'C:\\Users\\MITHIL~1\\AppData\\Local\\Temp\\pip-install-6ozh5a9c\\box2d-py\\setup.py'&quot;'&quot;'; __file__='&quot;'&quot;'C:\\Users\\m1\\AppData\\Local\\Temp\\pip-install-6ozh5a9c\\box2d-py\\setup.py'&quot;'&quot;';f=getattr(tokenize, '&quot;'&quot;'open'&quot;'&quot;', open)(__file__);code=f.read().replace('&quot;'&quot;'\r\n'&quot;'&quot;', '&quot;'&quot;'\n'&quot;'&quot;');f.close();exec(compile(code, __file__, '&quot;'&quot;'exec'&quot;'&quot;'))' bdist_wheel -d 'C:\Users\M~1\AppData\Local\Temp\pip-wheel-gruiq9b6'
         cwd: C:\Users\M~1\AppData\Local\Temp\pip-install-6ozh5a9c\box2d-py\
    Complete output (16 lines):
    Using setuptools (version 49.6.0.post20200814).
    running bdist_wheel
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.7
    creating build\lib.win-amd64-3.7\Box2D
    copying library\Box2D\Box2D.py -&gt; build\lib.win-amd64-3.7\Box2D
    copying library\Box2D\__init__.py -&gt; build\lib.win-amd64-3.7\Box2D
    creating build\lib.win-amd64-3.7\Box2D\b2
    copying library\Box2D\b2\__init__.py -&gt; build\lib.win-amd64-3.7\Box2D\b2
    running build_ext
    building 'Box2D._Box2D' extension
    swigging Box2D\Box2D.i to Box2D\Box2D_wrap.cpp
    swig.exe -python -c++ -IBox2D -small -O -includeall -ignoremissing -w201 -globals b2Globals -outdir library\Box2D -keyword -w511 -D_SWIG_KWARGS -o Box2D\Box2D_wrap.cpp Box2D\Box2D.i
    error: command 'swig.exe' failed: No such file or directory
    ----------------------------------------
    ERROR: Failed building wheel for box2d-py
    Running setup.py clean for box2d-py
  Failed to build box2d-py
  Installing collected packages: box2d-py
      Running setup.py install for box2d-py ... error
      ERROR: Command errored out with exit status 1:
       command: 'c:\users\m\.conda\envs\tensorflow\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '&quot;'&quot;'C:\\Users\\M~1\\AppData\\Local\\Temp\\pip-install-6ozh5a9c\\box2d-py\\setup.py'&quot;'&quot;'; __file__='&quot;'&quot;'C:\\Users\\M~1\\AppData\\Local\\Temp\\pip-install-6ozh5a9c\\box2d-py\\setup.py'&quot;'&quot;';f=getattr(tokenize, '&quot;'&quot;'open'&quot;'&quot;', open)(__file__);code=f.read().replace('&quot;'&quot;'\r\n'&quot;'&quot;', '&quot;'&quot;'\n'&quot;'&quot;');f.close();exec(compile(code, __file__, '&quot;'&quot;'exec'&quot;'&quot;'))' install --record 'C:\Users\M~1\AppData\Local\Temp\pip-record-67o7g705\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\m\.conda\envs\tensorflow\Include\box2d-py'
           cwd: C:\Users\M~1\AppData\Local\Temp\pip-install-6ozh5a9c\box2d-py\
      Complete output (16 lines):
      Using setuptools (version 49.6.0.post20200814).
      running install
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-3.7
      creating build\lib.win-amd64-3.7\Box2D
      copying library\Box2D\Box2D.py -&gt; build\lib.win-amd64-3.7\Box2D
      copying library\Box2D\__init__.py -&gt; build\lib.win-amd64-3.7\Box2D
      creating build\lib.win-amd64-3.7\Box2D\b2
      copying library\Box2D\b2\__init__.py -&gt; build\lib.win-amd64-3.7\Box2D\b2
      running build_ext
      building 'Box2D._Box2D' extension
      swigging Box2D\Box2D.i to Box2D\Box2D_wrap.cpp
      swig.exe -python -c++ -IBox2D -small -O -includeall -ignoremissing -w201 -globals b2Globals -outdir library\Box2D -keyword -w511 -D_SWIG_KWARGS -o Box2D\Box2D_wrap.cpp Box2D\Box2D.i
      error: command 'swig.exe' failed: No such file or directory
      ----------------------------------------
  ERROR: Command errored out with exit status 1: 'c:\users\m\.conda\envs\tensorflow\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '&quot;'&quot;'C:\\Users\\MITHIL~1\\AppData\\Local\\Temp\\pip-install-6ozh5a9c\\box2d-py\\setup.py'&quot;'&quot;'; __file__='&quot;'&quot;'C:\\Users\\M~1\\AppData\\Local\\Temp\\pip-install-6ozh5a9c\\box2d-py\\setup.py'&quot;'&quot;';f=getattr(tokenize, '&quot;'&quot;'open'&quot;'&quot;', open)(__file__);code=f.read().replace('&quot;'&quot;'\r\n'&quot;'&quot;', '&quot;'&quot;'\n'&quot;'&quot;');f.close();exec(compile(code, __file__, '&quot;'&quot;'exec'&quot;'&quot;'))' install --record 'C:\Users\M~1\AppData\Local\Temp\pip-record-67o7g705\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\m\.conda\envs\tensorflow\Include\box2d-py' 
  Check the logs for full command output
  </code></pre>