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

Help users who forgot to install the models requirements #40

Open
jeremyfowers opened this issue Dec 1, 2023 · 0 comments
Open

Help users who forgot to install the models requirements #40

jeremyfowers opened this issue Dec 1, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers p2 Low priority ui/ux Improve the user experience

Comments

@jeremyfowers
Copy link
Collaborator

Problem

Right now if a user forgets to install models/requirements.txt they will get a ModuleNotFound error as soon as they try to run any model outside of selftest.

Proposal

In analysis or files_api: wrap the script invocation with catch ModuleNoteFoundError, check whether the module is in our models requirements, and provide a helpful error message.

@jeremyfowers jeremyfowers added enhancement New feature or request ui/ux Improve the user experience good first issue Good for newcomers p2 Low priority labels Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers p2 Low priority ui/ux Improve the user experience
Projects
None yet
Development

No branches or pull requests

1 participant