[Fix&Enhance&Format] On README.md about poetry install (#1146)
- [x] I have added the correct label(s) to this Pull Request or linked the relevant issue(s) - [x] I have provided a description of the changes in this Pull Request - [ ] I have added documentation for my changes and have listed relevant changes in CHANGELOG.md - [ ] If applicable, I have added tests to cover my changes. - [ ] I have reformatted the code using `poe format` - [ ] I have checked style and types with `poe lint` and `poe type-check` - [ ] (Optional) I ran tests locally with `poe test` (or a subset of them with `poe test-reduced`) ,and they pass - [ ] (Optional) I have tested that documentation builds correctly with `poe doc-build` --- 1. [fix] First commit is **crucial**, otherwise `poetry` fails with `No arguments expected for "install" command, got "envpool"`. It's clear in [poetry-doc](https://python-poetry.org/docs/pyproject#extras) that quote marks are needed. 2. [enh] Second commit is **optional**, I encountered this problem myself (may be due to new to poetry), so I want to remind users (who may be new to this, like me). However, I'm not sure if including this in the main README is necessary, so it's up to you whether or not to merge it. 3. [fmt] Third commit is **recommended**, which is a minor but meaningful formatting change (it was automatically formatted by my VSCode plugin, and I didn't notice this at first).
This commit is contained in:
parent
f86fcd3a43
commit
40a4ad10c8
@ -88,8 +88,11 @@ poetry install
|
||||
```
|
||||
You can also install the dev requirements by adding `--with dev` or the extras
|
||||
for say mujoco and acceleration by [envpool](https://github.com/sail-sg/envpool)
|
||||
by adding `--extras mujoco envpool`
|
||||
by adding `--extras "mujoco envpool"`
|
||||
|
||||
If you wish to install multiple extras, ensure that you include them in a single command. Sequential calls to `poetry install --extras xxx` will overwrite prior installations, leaving only the last specified extras installed.
|
||||
Or you may install all the following extras by adding `--all-extras`.
|
||||
|
||||
Available extras are:
|
||||
- `atari` (for Atari environments)
|
||||
- `box2d` (for Box2D environments)
|
||||
@ -147,7 +150,7 @@ Find example scripts in the [test/](https://github.com/thu-ml/tianshou/blob/mast
|
||||
### Comprehensive Functionality
|
||||
|
||||
| RL Platform | GitHub Stars | # of Alg. <sup>(1)</sup> | Custom Env | Batch Training | RNN Support | Nested Observation | Backend |
|
||||
| ------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |--------------------------------| --------------------------------- | ------------------ | ------------------ | ---------- |
|
||||
| ------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | ------------------------------ | --------------------------------- | ------------------ | ------------------ | ---------- |
|
||||
| [Baselines](https://github.com/openai/baselines) | [](https://github.com/openai/baselines/stargazers) | 9 | :heavy_check_mark: (gym) | :heavy_minus_sign: <sup>(2)</sup> | :heavy_check_mark: | :x: | TF1 |
|
||||
| [Stable-Baselines](https://github.com/hill-a/stable-baselines) | [](https://github.com/hill-a/stable-baselines/stargazers) | 11 | :heavy_check_mark: (gym) | :heavy_minus_sign: <sup>(2)</sup> | :heavy_check_mark: | :x: | TF1 |
|
||||
| [Stable-Baselines3](https://github.com/DLR-RM/stable-baselines3) | [](https://github.com/DLR-RM/stable-baselines3/stargazers) | 7<sup> (3)</sup> | :heavy_check_mark: (gym) | :heavy_minus_sign: <sup>(2)</sup> | :x: | :heavy_check_mark: | PyTorch |
|
||||
|
Loading…
x
Reference in New Issue
Block a user