$ pip install mysqlclient
Collecting mysqlclient
Using cached mysqlclient-2.0.3.tar.gz (88 kB)
ERROR: Command errored out with exit status 1:
command: /home/song/miniconda3/envs/westarbucks/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-oc1xpiyw/mysqlclient_5065485605a44b02905d19b84f655f73/setup.py'"'"'; __file__='"'"'/tmp/pip-install-oc1xpiyw/mysqlclient_5065485605a44b02905d19b84f655f73/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-xra4p4nm
cwd: /tmp/pip-install-oc1xpiyw/mysqlclient_5065485605a44b02905d19b84f655f73/
Complete output (15 lines):
/bin/sh: 1: mysql_config: not found
/bin/sh: 1: mariadb_config: not found
/bin/sh: 1: mysql_config: not found
$pip install --upgrade pip
$pip install --upgrade setuptools
$pip install ez_setup
$sudo yum install python3-devel mysql-devel
$sudo yum install -y gcc
$pip install mysqlclient