I'm trying to connect to a mySQL database through SQLAlchemy and I can't get it to work for the life of me. Here's the code I'm running and the error I'm getting.
 import pandas as pd
 import sqlalchemy as sql
 import urllib.parse
 user = 'user'
 pswd = urllib.parse.quote_plus('password')
 connect_string = 'mysql://{}:{}@localhost:8018/test'.format(user, pswd)
 sql_engine = sql.create_engine(connect_string)
 >>> ModuleNotFoundError: No module named 'MySQLdb'
After seeing this, I've tried numerous different ways of installing 'MySQLdb' ( including the obvious 'pip3 install mysqlclient') and when I run that in my terminal, I get the following.
 >>> ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
I know this question has been posted here before but I've spent 2 hours now trying to figure this out with the advice on those other questions and nothing is working. Can anyone help? Below is a picture of the full error I'm getting when I try and install "mysqlclient"

 
     
    