collage-diffusion-ui icon indicating copy to clipboard operation
collage-diffusion-ui copied to clipboard

Missing dependencies in requirements.txt + excess imports in api.py

Open JosephCatrambone opened this issue 1 year ago • 1 comments

A brief digression: kudos to everyone involved in this. It's a really neat project.

Issue Description: After running pip install -r requirements.txt and running python api.py, there are some dependencies which seem to be unsatisfied.

Expected Behavior: pip install -r requirements.txt should cover all required imports if possible. Running python api.py after the pip install should let the backend code run.

Observed Behavior: There are a handful of additional packages that need to be installed:

  • ModuleNotFoundError: No module named 'omegaconf' (Resolve with 'pip install omegaconf')
  • ModuleNotFoundError: No module named 'h11' (Resolve with 'pip install h11')
  • ModuleNotFoundError: No module named 'ray' (Resolve with 'pip install ray')
  • ModuleNotFoundError: No module named 'google.cloud' (Resolve with 'pip install google-cloud-storage' [!!!])
  • ModuleNotFoundError: No module named 'dotenv' (Resolve by removing unused import in api.py [!!!])
  • ModuleNotFoundError: No module named 'pytorch_lightning' (Resolve with 'pip install pytorch-lightning')
  • ModuleNotFoundError: No module named 'einops' (Resolve with 'pip install einops')

JosephCatrambone avatar Sep 12 '23 19:09 JosephCatrambone