QData/spacetimeformer

Module pytorch_lightning not found

emregucerr opened this issue · 1 comments

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.

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.