Pessoal, procurei nos tópicos alguma solução para o meu problema e não encontrei... Estou utilizando o LinuxMint, flask==0.12.2, dentro do PyCharm tentei executar o comando para instalar o flask_mysqldb está dando um erro e não consegui descobrir o motivo.
(venv) pip3 install flask_mysqldb==0.2.0
Collecting flask_mysqldb==0.2.0 Using cached https://files.pythonhosted.org/packages/62/e3/955c845efe1aacf30c8e2607470544ede36aa1044f6382c809f13e014104/Flask-MySQLdb-0.2.0.tar.gz Requirement already satisfied: Flask>=0.10 in ./venv/lib/python3.7/site-packages (from flask_mysqldb==0.2.0) (0.12.2) Collecting mysqlclient (from flask_mysqldb==0.2.0) Using cached https://files.pythonhosted.org/packages/f4/f1/3bb6f64ca7a429729413e6556b7ba5976df06019a5245a43d36032f1061e/mysqlclient-1.4.2.post1.tar.gz Complete output from command python setup.py egg_info: /bin/sh: mysql_config: command not found Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-qne9mqvi/mysqlclient/setup.py", line 16, in metadata, options = get_config() File "/tmp/pip-install-qne9mqvi/mysqlclient/setup_posix.py", line 51, in get_config libs = mysql_config("libs") File "/tmp/pip-install-qne9mqvi/mysqlclient/setup_posix.py", line 29, in mysql_config raise EnvironmentError("%s not found" % (mysqlconfig_path,)) OSError: mysql_config not found
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-qne9mqvi/mysqlclient/