You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to import aiplatform from google_cloud_pipeline_components, I get a TypeError, and the import fails.
What steps did you take
To reproduce the issue:
Create a new virtual environment (Python version 3.6.9): python3 -m virtualenv gcp_aip
Activate the environment: source gcp_aip/bin/activate
Install per instructions: pip install -U google-cloud-pipeline-components
Start a new Python session and try to import aiplatform: python3 -c 'from google_cloud_pipeline_components import aiplatform'
What happened:
I get a TypeError, specifically the following:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/ubuntu/.env/gcp_aip/lib/python3.6/site-packages/google_cloud_pipeline_components/aiplatform/__init__.py", line 68, in <module>
aiplatform_sdk.ImageDataset.export_data,
File "/home/ubuntu/.env/gcp_aip/lib/python3.6/site-packages/google_cloud_pipeline_components/aiplatform/utils.py", line 465, in convert_method_to_component
output_type
TypeError: 'NoneType' object is not iterable
What did you expect to happen:
I expected the import to succeed.
Environment:
Ubuntu 18.04 / Python 3.6.9.
I suspect this may have something to do with the version of Python. The error above happens with Python 3.6.9. I tried the same process with Python 3.8.5, and I did not get the above error.
Labels
/area components
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.
The text was updated successfully, but these errors were encountered:
When I try to import
aiplatform
fromgoogle_cloud_pipeline_components
, I get aTypeError
, and the import fails.What steps did you take
To reproduce the issue:
Create a new virtual environment (Python version 3.6.9):
python3 -m virtualenv gcp_aip
Activate the environment:
source gcp_aip/bin/activate
Install per instructions:
pip install -U google-cloud-pipeline-components
Start a new Python session and try to import aiplatform:
python3 -c 'from google_cloud_pipeline_components import aiplatform'
What happened:
I get a
TypeError
, specifically the following:What did you expect to happen:
I expected the import to succeed.
Environment:
Ubuntu 18.04 / Python 3.6.9.
I suspect this may have something to do with the version of Python. The error above happens with Python 3.6.9. I tried the same process with Python 3.8.5, and I did not get the above error.
Labels
/area components
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.
The text was updated successfully, but these errors were encountered: