mirror of
https://github.com/wassname/ray.git
synced 2026-07-16 11:21:10 +08:00
Add dependencies for dashboard to installation.rst (#5942)
Updating the docs to include pip installing `aiohttp` and `psutil`, both of which the dashboard requires. Since the whole dashboard section is optional, I thought I'd just add it in the docs rather than make it an explicit requirement of the project. Tell me if you'd prefer them as requirements in the `setup.py`, though.
This commit is contained in:
committed by
Richard Liaw
parent
32b2907457
commit
4d08d3c188
@@ -120,7 +120,19 @@ steps are included in the installation instructions above.
|
||||
|
||||
.. _`Node.js`: https://nodejs.org/
|
||||
|
||||
The dashboard requires Python 3, and can be enabled by setting
|
||||
The dashboard also requires:
|
||||
|
||||
- Python 3
|
||||
- aiohttp
|
||||
- psutil
|
||||
|
||||
The latter two can be installed via pip:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
pip install aiohttp psutil
|
||||
|
||||
The dashboard is enabled by setting
|
||||
``include_webui=True`` during initialization, i.e.
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
Reference in New Issue
Block a user