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

app.py can't find maestro_anyapi #56

Open
jdholbrook33 opened this issue Jun 25, 2024 · 5 comments
Open

app.py can't find maestro_anyapi #56

jdholbrook33 opened this issue Jun 25, 2024 · 5 comments

Comments

@jdholbrook33
Copy link

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?

@rollandaz
Copy link

Yup, I'm having the same issue.

@darrhal
Copy link

darrhal commented Jun 26, 2024

I got it to run by adding sys.path.append('../') in app.py and renaming maestro-anyapi.py to maestro_anyapi.py

@jdholbrook33
Copy link
Author

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.

@LiquidMovz
Copy link

@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!

@SerialIterator
Copy link

@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.

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

5 participants