Skip to content

Commit 74ffa19

Browse files
authored
fix: Fix import error string showing wrong pip install path (#1076)
Fix import error showing `python-aiplatform` instead of `google-cloud-aiplatform`.
1 parent c9ba060 commit 74ffa19

File tree

1 file changed

+3
-3
lines changed
  • google/cloud/aiplatform/explain

1 file changed

+3
-3
lines changed

google/cloud/aiplatform/explain/lit.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,23 @@
2929
except ImportError:
3030
raise ImportError(
3131
"LIT is not installed and is required to get Dataset as the return format. "
32-
'Please install the SDK using "pip install python-aiplatform[lit]"'
32+
'Please install the SDK using "pip install google-cloud-aiplatform[lit]"'
3333
)
3434

3535
try:
3636
import tensorflow as tf
3737
except ImportError:
3838
raise ImportError(
3939
"Tensorflow is not installed and is required to load saved model. "
40-
'Please install the SDK using "pip install pip install python-aiplatform[lit]"'
40+
'Please install the SDK using "pip install google-cloud-aiplatform[lit]"'
4141
)
4242

4343
try:
4444
import pandas as pd
4545
except ImportError:
4646
raise ImportError(
4747
"Pandas is not installed and is required to read the dataset. "
48-
'Please install Pandas using "pip install python-aiplatform[lit]"'
48+
'Please install Pandas using "pip install google-cloud-aiplatform[lit]"'
4949
)
5050

5151

0 commit comments

Comments
 (0)