我的计算机上安装了必需的库:
Collecting google-cloud
Downloading https://files.pythonhosted.org/packages/ba/b1/7c54d1950e7808df06642274e677dbcedba57f75307adf2e5ad8d39e5e0e/google_cloud-0.34.0-py2.py3-none-any.whl
Installing collected packages: google-cloud
Successfully installed google-cloud-0.34.0
但是,当我实际按照说明教程尝试在云存储上设置数据集时,出现错误,指出该软件包未安装,显然是这样:
File "automl_vision_dataset.py", line 280, in <module>
project_id, compute_region, args.dataset_name, multilabel
File "automl_vision_dataset.py", line 37, in create_dataset
from google.cloud import automl_v1beta1 as automl
ImportError: No module named google.cloud
可以帮忙吗?我在这里想念什么?谢谢
答案 0 :(得分:0)
您需要pip install google-cloud-automl