pytorchgoogle-cloud-storagegoogle-colaboratoryallennlp

Google Colab recently raise error ModuleNotFoundError: No module named 'google.cloud.storage.retry'


My code just worked properly on local and colab, however recently faced the following error on colab. I use google colab to run my code. The allennlp package was installed.

Error when run code


Solution

    1. pip install --upgrade google-cloud-storage
    2. restart runtime

    The above command solved the issue for me!