Skip to content

Commit

Permalink
update fixing gym==0.21 installation
Browse files Browse the repository at this point in the history
  • Loading branch information
minoring committed Nov 9, 2023
1 parent c243ae6 commit e25e154
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
6 changes: 2 additions & 4 deletions docs/_sources/references/troubleshooting.rst.txt
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,8 @@ Troubleshooting

| **Q:** I am getting the error while running ``pip install gym==0.21.0`` (e.g., ``extras_require ..``).
**A:** Run the following commands and then rerun the installation.
**A:** Run the following commands and then rerun the installation (`reference <https://github.com/openai/gym/issues/3176#issuecomment-1560026649>`__).

.. code::
pip install --upgrade pip wheel
pip install setuptools==58
pip install --upgrade pip==22.2.2
pip install setuptools==65.5.0 pip==21 # gym 0.21 installation is broken with more recent versions
6 changes: 2 additions & 4 deletions docs/references/troubleshooting.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -714,10 +714,8 @@ <h2>[Q&amp;A] Gym<a class="headerlink" href="#q-a-gym" title="Permalink to this
<div class="line"><strong>Q:</strong> I am getting the error while running <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">gym==0.21.0</span></code> (e.g., <code class="docutils literal notranslate"><span class="pre">extras_require</span> <span class="pre">..</span></code>).</div>
</div>
<blockquote>
<div><p><strong>A:</strong> Run the following commands and then rerun the installation.</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">pip</span> <span class="n">install</span> <span class="o">--</span><span class="n">upgrade</span> <span class="n">pip</span> <span class="n">wheel</span>
<span class="n">pip</span> <span class="n">install</span> <span class="n">setuptools</span><span class="o">==</span><span class="mi">58</span>
<span class="n">pip</span> <span class="n">install</span> <span class="o">--</span><span class="n">upgrade</span> <span class="n">pip</span><span class="o">==</span><span class="mf">22.2.2</span>
<div><p><strong>A:</strong> Run the following commands and then rerun the installation (<a class="reference external" href="https://github.com/openai/gym/issues/3176#issuecomment-1560026649">reference</a>).</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">pip</span> <span class="n">install</span> <span class="n">setuptools</span><span class="o">==</span><span class="mf">65.5.0</span> <span class="n">pip</span><span class="o">==</span><span class="mi">21</span> <span class="c1"># gym 0.21 installation is broken with more recent versions</span>
</pre></div>
</div>
</div></blockquote>
Expand Down
6 changes: 2 additions & 4 deletions docs_source/references/troubleshooting.rst
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,8 @@ Troubleshooting

| **Q:** I am getting the error while running ``pip install gym==0.21.0`` (e.g., ``extras_require ..``).
**A:** Run the following commands and then rerun the installation.
**A:** Run the following commands and then rerun the installation (`reference <https://github.com/openai/gym/issues/3176#issuecomment-1560026649>`__).

.. code::
pip install --upgrade pip wheel
pip install setuptools==58
pip install --upgrade pip==22.2.2
pip install setuptools==65.5.0 pip==21 # gym 0.21 installation is broken with more recent versions

0 comments on commit e25e154

Please sign in to comment.