AutoML colab notebook ImportError: Missing optional dependency 'gcsfs'

AutoML colab notebook ImportError: Missing optional dependency 'gcsfs'

我是 运行 来自 https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/tables/automl/notebooks/purchase_prediction/purchase_prediction.ipynb

的 AutoML notebook

在 Colab 中,以下行:

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

因主题错误而失败。

我试过 pip install gcsfs 报告 Requirement already satisfied

导入 gcsfs returns

ModuleNotFoundError: No module named 'gcsfs'

由@Matt Evans Purchase Prediction with AutoML Tables notebook works perfectly on AI Platform Notebooks in GCP. Before running any command it's important to make sure that billing, AI Platform API, Compute Engine API, AutoML API are enabled in GCP project. For some reasons it throws an error while running in Colab environment. The bug has been already reported on Github 提供。