From 74ffa19e7d540f6bb5f21d2335c2a5d23cc49ee2 Mon Sep 17 00:00:00 2001 From: Taisei Klasen Date: Mon, 14 Mar 2022 08:38:13 -0700 Subject: [PATCH] fix: Fix import error string showing wrong pip install path (#1076) Fix import error showing `python-aiplatform` instead of `google-cloud-aiplatform`. --- google/cloud/aiplatform/explain/lit.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/google/cloud/aiplatform/explain/lit.py b/google/cloud/aiplatform/explain/lit.py index 635ebb1ce8..3084382995 100644 --- a/google/cloud/aiplatform/explain/lit.py +++ b/google/cloud/aiplatform/explain/lit.py @@ -29,7 +29,7 @@ except ImportError: raise ImportError( "LIT is not installed and is required to get Dataset as the return format. " - 'Please install the SDK using "pip install python-aiplatform[lit]"' + 'Please install the SDK using "pip install google-cloud-aiplatform[lit]"' ) try: @@ -37,7 +37,7 @@ except ImportError: raise ImportError( "Tensorflow is not installed and is required to load saved model. " - 'Please install the SDK using "pip install pip install python-aiplatform[lit]"' + 'Please install the SDK using "pip install google-cloud-aiplatform[lit]"' ) try: @@ -45,7 +45,7 @@ except ImportError: raise ImportError( "Pandas is not installed and is required to read the dataset. " - 'Please install Pandas using "pip install python-aiplatform[lit]"' + 'Please install Pandas using "pip install google-cloud-aiplatform[lit]"' )