Skip to content

Commit

Permalink
Merge pull request #46 from Eclectic-Sheep/fix/minedojo_requirements
Browse files Browse the repository at this point in the history
Fix/minedojo requirements
  • Loading branch information
belerico authored Jun 30, 2023
2 parents 7641f41 + b956c1b commit a0a03e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,19 @@ source .venv/bin/activate
pip install "sheeprl @ git+https://github.com/Eclectic-Sheep/sheeprl.git"
# or, to install with atari and mujuco environment support, do
pip install "sheeprl[atari,mujoco,dev] @ git+https://github.com/Eclectic-Sheep/sheeprl.git"
# or, to install with minedojo environment support, do
pip install "sheeprl[minedojo,dev] @ git+https://github.com/Eclectic-Sheep/sheeprl.git"
# or, to install all extras, do
pip install "sheeprl[atari,mujoco,dev,test] @ git+https://github.com/Eclectic-Sheep/sheeprl.git"
pip install "sheeprl[atari,mujoco,miedojo,dev,test] @ git+https://github.com/Eclectic-Sheep/sheeprl.git"
```

</details>

> **Note**
>
> if you are on an M-series mac and encounter an error attributed box2dpy during install, you need to install SWIG using the instructions shown below.
>
> if you want to install the minedojo environment support, Java JDK 8 is required: you can install it by following the instructions at this [link](https://docs.minedojo.org/sections/getting_started/install.html#on-ubuntu-20-04).
<details>
<summary>Installing SWIG</summary>
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ atari = [
"gymnasium[accept-rom-license]==0.28.*",
"gymnasium[other]==0.28.*",
]
minedojo = ["minedojo==0.1"]

[tool.ruff]
line-length = 120
Expand Down

0 comments on commit a0a03e4

Please sign in to comment.