FIX: EnvironmentError: mysql_config not found


Collecting MySQL-python==1.2.3 (from -r requirements/requirements.txt (line 13))
  Using cached https://files.pythonhosted.org/packages/9a/81/924d6799494cf7fb24370335c2f782088d6ac4f79e4137d4df94cea3582c/MySQL-python-1.2.3.tar.gz
    Complete output from command python setup.py egg_info:
    sh: 1: mysql_config: not found
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-PisFIg/MySQL-python/setup.py", line 15, in <module>
        metadata, options = get_config()
      File "/tmp/pip-install-PisFIg/MySQL-python/setup_posix.py", line 43, in get_config
        libs = mysql_config("libs_r")
      File "/tmp/pip-install-PisFIg/MySQL-python/setup_posix.py", line 24, in mysql_config
        raise EnvironmentError("%s not found" % (mysql_config.path,))
    EnvironmentError: mysql_config not found

FIX

sudo apt-get install libmysqlclient-dev

for Centos

yum install mariadb-devel.x86_64