pip install mysqlclient OSError: mysql_config not found code example
Example 1: mysql config not found
sudo apt-get install libmysqlclient-dev
Example 2: OSError: mysql_config not found
assuming debian / ubuntu:
sudo apt-get install libmysqlclient-dev
if you are using mariadb:
sudo apt-get install libmariadbclient-dev