gridstudio icon indicating copy to clipboard operation
gridstudio copied to clipboard

import mysql.connector failed

Open JohnnySung opened this issue 6 years ago • 1 comments

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?

JohnnySung avatar Sep 13 '19 22:09 JohnnySung

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

ricklamers avatar Jun 26 '20 19:06 ricklamers