-
Notifications
You must be signed in to change notification settings - Fork 779
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
module 'vanna' has no attribute 'connect_to_mysql' #371
Comments
Upgrade your vanna installation please pip install -U vanna |
Ah it's the "import vanna as vn" that's the issue. That's deprecated. Try this setup to instantiate vn as a class: |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
![image](https://private-user-images.githubusercontent.com/133813093/323085809-0c21aa6d-14b0-4a9d-9dce-0f0a99fd5760.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM4NTk5MTksIm5iZiI6MTcyMzg1OTYxOSwicGF0aCI6Ii8xMzM4MTMwOTMvMzIzMDg1ODA5LTBjMjFhYTZkLTE0YjAtNGE5ZC05ZGNlLTBmMGE5OWZkNTc2MC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODE3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxN1QwMTUzMzlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03ODFiYzRjNmEzMDhiYWRmZDU1Y2I3YzBlZTdjMTY0MWMxNjE0MTkyMDhlODNkODZjMmJlYzkwYzBiOGQwYjA4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.-mh-5p8t-GPUJP4fKTSN8wkEffOMvCLYW7pahAFsIWk)
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: