Help users who forgot to install the models requirements #40
Labels
enhancement
New feature or request
good first issue
Good for newcomers
p2
Low priority
ui/ux
Improve the user experience
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.The text was updated successfully, but these errors were encountered: