-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Unable to import trainer #41
Comments
post code here. Generally in python it would be: from python_lightning import Trainer Look at the demo here for instructions: |
From command line itself it is not able to import. Importing pytorch_lightning is working though.
|
Seems strange. I just tried, it works. Tests also work... Maybe it's your install? What does your conda env look like? Are you also using the latest lightning version? |
Even after re-installation, same problem persists.
|
oh yeah, use python 3+. Recommended 3.7 |
Ok, I will try it. Thanks a lot. |
Add cookie banner
Hey, I am able to import pytorch_lightning but not the trainer. I am new to python and have no idea how to deal with it. It throws following error:
File "", line 1, in
ImportError: cannot import name Trainer
Thanks
The text was updated successfully, but these errors were encountered: