From 90f5f9a3e4ab3f56c8d9dd873b2205fefa2c7aec Mon Sep 17 00:00:00 2001 From: Robert Nishihara Date: Wed, 11 Dec 2019 14:56:14 -0800 Subject: [PATCH] Fix error message when failing to start UI if grpcio not installed. (#6433) --- python/ray/services.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/ray/services.py b/python/ray/services.py index fe59035fe..9ceb435ae 100644 --- a/python/ray/services.py +++ b/python/ray/services.py @@ -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,