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

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

Open
JosephCatrambone opened this issue Sep 12, 2023 · 1 comment

Comments

@JosephCatrambone
Copy link

JosephCatrambone commented Sep 12, 2023

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')
@linden-li
Copy link
Owner

Glad you enjoy the project! Sorry about the excess requirements.txt - that should probably be deprecated. The docker image provided should have all the dependencies installed.

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