From 240e8f52791d85ef6bb68cae1e1483debbbde2b2 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 3ed49f870..7f18d5b93 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,