app.py can't find maestro_anyapi
jdholbrook33 opened this issue · comments
Cloned the repo, ran requirements in flask_app folder, setup API keys and "python app.py"
import maestro_anyapi
ModuleNotFoundError: No module named 'maestro_anyapi'
Searched all files and no maestro_anyapi found
What am I doing wrong?
Yup, I'm having the same issue.
I got it to run by adding sys.path.append('../') in app.py and renaming maestro-anyapi.py to maestro_anyapi.py
I got it to run by adding sys.path.append('../') in app.py and renaming maestro-anyapi.py to maestro_anyapi.py
That did it. Thanks.
@darrhal @jdholbrook33 if either of you can post your app.py contents, i would be sooo grateful, been trying the suggestion and am missing something. @Doriandarko would love to see this foxed, thank you for your work, this is amazing!
@LiquidMovz You should be able to rename the file maestro-anyapi.py
to maestro_anyapi.py
and it should run. Python doesn't like hyphens so it wants to see underscores. You have to add the api keys and choose the models you want to use in maestro_anyapi.py
at that point.