Google Colab 最近引发错误 ModuleNotFoundError:没有名为“google.cloud.storage.retry”的模块

Ami*_*ipi 3 google-cloud-storage pytorch google-colaboratory allennlp

我的代码在本地和 colab 上运行正常,但是最近在 colab 上遇到以下错误。我使用 google colab 来运行我的代码。allennlp 软件包已安装。

运行代码时出错

Ami*_*ipi 6

  1. pip install --升级 google-cloud-storage
  2. 重新启动运行时

上面的命令为我解决了这个问题!