Pip install ray. ! pip install "ray[rllib, serve, tune]==2.