Skip to content

Not able to import the Pytorch Lightning on Colab #6443

@kunal-savvy

Description

@kunal-savvy

🐛 Bug

Hello Pytorch Team,
I have been working on pytorch lightning for several days, I have never seen this error on Google Colab.
Not sure if there is any change that happened on colab side or lightning.
When I install pytorch lightning and try to import pytorch lightening module, it can't import and throws out the error. The same was working till yesterday. Not sure If I am doing anything wrong on my side, here is the screenshot:
image
Same for bolts as well.
image

To Reproduce

Steps to reproduce the behavior:

!pip install pytorch-lightning --quiet
import pytorch_lightning as pl
!pip install pytorch-lightning-bolts --quiet
import pl_bolts as plb

Environment

  • PyTorch Version (e.g., 1.0):latest
  • OS (e.g., Linux):Colab
  • How you installed PyTorch (conda, pip, source): pip
  • Build command you used (if compiling from source):
  • Python version:
  • CUDA/cuDNN version:
  • GPU models and configuration:
  • Any other relevant information:

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedOpen to be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions