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

Module pytorch_lightning not found #72

Open
emregucerr opened this issue Apr 26, 2023 · 1 comment
Open

Module pytorch_lightning not found #72

emregucerr opened this issue Apr 26, 2023 · 1 comment

Comments

@emregucerr
Copy link

I know it's stated that the training process runs on an outdated version of lightning and torchmetrics, but I couldn't find a way to run it using any of the older versions of lightning. Is there a way to fix this issue below?

Traceback (most recent call last):
  File "train.py", line 8, in <module>
    import pytorch_lightning as pl
ModuleNotFoundError: No module named 'pytorch_lightning'

Any help is much appreciated.

@pooyakalahroodi
Copy link

Most probably, you have not installed the pytorch_lightning. Possibly, there is a version conflict that prevents you from running the installation of the requirements successfully. I have noticed that pystan version in the requirement file has a conflict with another package, so it stops running the script for the rest of the packages. delete pystan from the requirement file and run it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants