When I tried to connect to MySQL via Python3 program, I encountered problem above.

At first, I had surely installed mysql-connector-python before running the program.

pip3 install mysql-connector-python(For readability, added line feed to each row)Requirement already satisfied: mysql-connector-python in /opt/pypy3.6-v7.1.1-osx64/site-packages (8.0.17)Requirement already satisfied: protobuf>=3.0.0 in /opt/pypy3.6-v7.1.1-osx64/site-packages …

resotto

Open Source Software Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store