module 'vanna' has no attribute 'connect_to_mysql' #374
Unanswered
Abhinav0905
asked this question in
Q&A
Replies: 4 comments 8 replies
-
|
Upgrade your vanna installation please pip install -U vanna |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Tried doing on the vanna colab official page . Still facing the same issue |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Ah it's the "import vanna as vn" that's the issue. That's deprecated. Try this setup to instantiate vn as a class: |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
unable to connect to MySQL. When printing the directory of Vanna, connect_to_mysql wasn't listed.
Even tried using pip install vanna[mysql]
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Error logs/Screenshots
If applicable, add logs/screenshots to give more information about the issue.
Desktop (please complete the following information where):
Additional context

Add any other context about the problem here.
Beta Was this translation helpful? Give feedback.
All reactions