So I'm trying to follow a tutorial to connect to an SQL database, using Connector/Python.
I have to import it, obviously:
import mysql.connector
So I tried pip install mysql
in the terminal.
This is what I got:
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/g6/yrxcmygn3ls375rm9rh3p86r0000gn/T/pip-build-a0d0rzdl/MySQL-python/
What I've tried from looking up on Google:
pip install --upgrade setuptools
pip install ez_setup
pip install unroll
easy_install -U setuptools
Nothing worked
Thanks