Skip to content

Commit

Permalink
fix: Fix import error string showing wrong pip install path (#1076)
Browse files Browse the repository at this point in the history
Fix import error showing `python-aiplatform` instead of `google-cloud-aiplatform`.
  • Loading branch information
taiseiak authored Mar 14, 2022
1 parent c9ba060 commit 74ffa19
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions google/cloud/aiplatform/explain/lit.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@
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:
import tensorflow as tf
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:
import pandas as pd
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]"'
)


Expand Down

0 comments on commit 74ffa19

Please sign in to comment.