AutoML colab笔记本ImportError:缺少可选依赖项'gcsfs'

时间:2020-04-14 14:25:48

标签: python-3.x google-cloud-platform google-cloud-automl

我正在https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/tables/automl/notebooks/purchase_prediction/purchase_prediction.ipynb上运行AutoML笔记本

在Colab中,以下行:

table = pd.read_csv(nested_gcs_uri, low_memory=False)

由于主题错误而失败。

我尝试了pip install gcsfs报告了Requirement already satisfied

导入gcsfs返回

ModuleNotFoundError: No module named 'gcsfs'

1 个答案:

答案 0 :(得分:0)

提供的Purchase Prediction with AutoML Tables notebook在GCP中的AI Platform Notebooks上运行良好。在运行任何命令之前,重要的是要确保在GCP项目中启用了计费,AI平台API,Compute Engine API,AutoML API。由于某些原因,在Colab环境中运行时会引发错误。该错误已由@Matt Evans在Github上报告。

相关问题