mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-01 06:07:08 +00:00
Update basic_usage.md (#1232)
This commit is contained in:
committed by
GitHub
parent
137be19330
commit
0e94c46b44
@@ -49,7 +49,7 @@ In reinforcement learning, the classic "agent-environment loop" pictured below i
|
||||
:class: only-dark
|
||||
```
|
||||
|
||||
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]`.
|
||||
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]"`.
|
||||
|
||||
```python
|
||||
import gymnasium as gym
|
||||
|
Reference in New Issue
Block a user