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

No module named 'vanna.flask' #293

Closed
njhouse365 opened this issue Mar 14, 2024 · 5 comments
Closed

No module named 'vanna.flask' #293

njhouse365 opened this issue Mar 14, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@njhouse365
Copy link

No description provided.

@njhouse365 njhouse365 added the bug Something isn't working label Mar 14, 2024
@andreped
Copy link
Contributor

Hello, @njhouse365!

Can you add a description on how to reproduce the bug?

@andreped
Copy link
Contributor

andreped commented Mar 14, 2024

At least installing from source and running simple import tests seem to work fine:

python -m venv venv/
source venv/bin/activate
pip install git+https://github.com/vanna-ai/vanna.git

python -c "from vanna import flask"
python -c "import vanna.flask"

But maybe there is a bug somewhere in the code for something you are trying to do?

@njhouse365
Copy link
Author

python -c "from vanna import flask"
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name 'flask' from 'vanna' (/home/xxm/anaconda3/envs/vanna/lib/python3.10/site-packages/vanna/init.py)

python -c "import vanna.flask"
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'vanna.flask'

@zainhoda
Copy link
Contributor

@njhouse365 are you using an old version of Vanna -- can you try pip install -U vanna ?

@njhouse365
Copy link
Author

it works !!!,thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants