Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError when importing pytorch-lightning on Colab #6437

Closed
jordigc2 opened this issue Mar 9, 2021 · 3 comments
Closed

ImportError when importing pytorch-lightning on Colab #6437

jordigc2 opened this issue Mar 9, 2021 · 3 comments
Labels
bug Something isn't working help wanted Open to be worked on

Comments

@jordigc2
Copy link

jordigc2 commented Mar 9, 2021

🐛 Bug

I am trying to import pytorch-lightning on Colab and I am getting an ImportError on the package torchtext.

I have seen that there is a pull request ready to be approved here #6365 where they check the version of torch and it searches for the Batch package in a different path. I was wondering when will this be available on Colab to use.

Thank you,

@jordigc2 jordigc2 added bug Something isn't working help wanted Open to be worked on labels Mar 9, 2021
@ayulockin
Copy link

ayulockin commented Mar 9, 2021

I faced the same issue and was about to raise an issue. Here's a colab gist to reproduce the error.

@Llcht
Copy link

Llcht commented Mar 9, 2021

Same as #6426 #6415

Try using !pip install git+https://github.com/PyTorchLightning/pytorch-lightning
Don't forget to reset the execution environment before doing it.

@tchaton
Copy link
Contributor

tchaton commented Mar 9, 2021

Dear @ayulockin,

The bug was resolved on master.

Screenshot 2021-03-09 at 14.59.17.png

Closing this issue.

Best,
T.C

@tchaton tchaton closed this as completed Mar 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Open to be worked on
Projects
None yet
Development

No branches or pull requests

4 participants