generative-models
generative-models copied to clipboard
ModuleNotFoundError: No module named 'pytorch_lightning'
I've installed pytorch lightning using pip install lightning and even tried conda install lightning -c conda-forge
Still getting the error below:
File "\generative-models\scripts\demo\sampling.py", line 1, in
Did you make sure to install all the requirements in https://github.com/Stability-AI/generative-models/blob/main/requirements/pt2.txt
Did you make sure to install all the requirements in https://github.com/Stability-AI/generative-models/blob/main/requirements/pt2.txt
Yep, ran pip install -r requirements/pt2.txt
Did you make sure to install all the requirements in https://github.com/Stability-AI/generative-models/blob/main/requirements/pt2.txt
Yep, ran pip install -r requirements/pt2.txt
By the way this is on Windows 10 with Conda
see https://github.com/Stability-AI/generative-models/issues/172, it might help you
I am experiencing the same issue, but on M2 macOS Sonoma with python 3.9.6.
Update: nvm, I got passed this error by installing torch via conda using these instructions: https://pytorch.org/get-started/locally/
And then re-running the pip3 install -r requirements/pt2.txt command.