Skip to content

Commit 6c8d951

Browse files
authored
Update basic_usage.md to be more clear on installing swig for MacOS users
1 parent f02a56c commit 6c8d951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/introduction/basic_usage.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ In reinforcement learning, the classic "agent-environment loop" pictured below i
4949
:class: only-dark
5050
```
5151

52-
For Gymnasium, the "agent-environment-loop" is implemented below for a single episode (until the environment ends). See the next section for a line-by-line explanation. Note that running this code requires installing swig (`pip install swig` or [download](https://www.swig.org/download.html)) along with `pip install "gymnasium[box2d]"`.
52+
For Gymnasium, the "agent-environment-loop" is implemented below for a single episode (until the environment ends). See the next section for a line-by-line explanation. Note that running this code requires installing swig (`pip install swig`, [download](https://www.swig.org/download.html), or via [Homebrew](https://formulae.brew.sh/formula/swig) if you are using macOS) along with `pip install "gymnasium[box2d]"`.
5353

5454
```python
5555
import gymnasium as gym

0 commit comments

Comments
 (0)