I'm writing reinforcement learning code using pfnet/pfrl as a reference.
This package is managed using poetry. You can install the dependencies by executing the following command. See the pyproject.toml for the detail of dependencies.
poetry install
If you excute examples, you should install MuJoCo.