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

import mysql.connector failed #96

Open
JohnnySung opened this issue Sep 13, 2019 · 1 comment
Open

import mysql.connector failed #96

JohnnySung opened this issue Sep 13, 2019 · 1 comment

Comments

@JohnnySung
Copy link

I just installed mysql in my mac, I used Python pip command to get it. Since Python2 will be depreciated soon, the website rejected me. So I used Python3 to pip it and executed "import mysql.connector" and no error happened. I tried to used Python2 back to execute "import mysql.connector" it gave me feedback:
"Traceback (most recent call last): File "", line 1, in "

In our beloved "gridstudio", seems Python2 is used, because when I stepped "import mysql.connector", it gave me the similar File "", line 1, in " error!

How to change our gridstudio to Python3?

@ricklamers
Copy link
Owner

Grid Studio is using Python 3 exclusively. Are you sure you ran python3 -m pip install mysql-connector-python?

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

2 participants