Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Installation Instructions #760

Merged
merged 3 commits into from Jul 27, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 15 additions & 0 deletions docs/getting-started/installation.rst
Expand Up @@ -6,6 +6,21 @@ Prerequisites
-------------

- Python 3.8+
- Specific versions of pip and setuptools due to \
`a bug with gym <https://github.com/openai/gym/issues/3176>`_:

.. code-block:: bash

pip install -U setuptools==65.5.0 pip==21

- (on M1 Macs) you need to set environment variables due to \
ernestum marked this conversation as resolved.
Show resolved Hide resolved
`a bug in grpcio <https://stackoverflow.com/questions/66640705/how-can-i-install-grpcio-on-an-apple-m1-silicon-laptop>`_:

.. code-block:: bash

export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1

- (Optional) OpenGL (to render gym environments)
- (Optional) FFmpeg (to encode videos of renders)
- (Optional) MuJoCo (follow instructions to install `mujoco\_py v1.5 here`_)
Expand Down
2 changes: 1 addition & 1 deletion docs/main-concepts/experts.rst
Expand Up @@ -12,7 +12,7 @@ learning library.
For example, BC and DAgger can learn from an expert policy and the command line
interface of AIRL/GAIL allows one to specify an expert to sample demonstrations from.

In the :doc:`../getting-started/first-steps` tutorial, we first train an expert policy
In the :doc:`../getting-started/first_steps` tutorial, we first train an expert policy
using the stable-baselines3 library and then imitate it's behavior using
:doc:`../algorithms/bc`.
In practice, you may want to load a pre-trained policy for performance reasons.
Expand Down