mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 00:29:38 +08:00
Fix error message when failing to start UI if grpcio not installed. (#6433)
This commit is contained in:
committed by
Philipp Moritz
parent
58ac8639b9
commit
240e8f5279
@@ -1070,10 +1070,11 @@ def start_dashboard(host,
|
||||
import aiohttp # noqa: F401
|
||||
import psutil # noqa: F401
|
||||
import setproctitle # noqa: F401
|
||||
import grpc # noqa: F401
|
||||
except ImportError:
|
||||
raise ImportError(
|
||||
"Failed to start the dashboard. The dashboard requires Python 3 "
|
||||
"as well as 'pip install aiohttp psutil setproctitle'.")
|
||||
"as well as 'pip install aiohttp psutil setproctitle grpcio'.")
|
||||
|
||||
process_info = start_ray_process(
|
||||
command,
|
||||
|
||||
Reference in New Issue
Block a user