(venv) MacBook-Pro-de-Jaison:jogoteca2 fexjac$ pip3 install flask_mysqldb==0.2.0
Collecting flask_mysqldb==0.2.0
Downloading Flask-MySQLdb-0.2.0.tar.gz (2.1 kB)
Requirement already satisfied: Flask>=0.10 in ./venv/lib/python3.9/site-packages (from flask_mysqldb==0.2.0) (0.12.2)
Collecting mysqlclient
Downloading mysqlclient-2.0.1.tar.gz (87 kB)
|████████████████████████████████| 87 kB 815 kB/s
ERROR: Command errored out with exit status 1:
command: /Users/fexjac/PycharmProjects/jogoteca2/venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/wl/qt1g46754_z0b319rlzs_99h0000gn/T/pip-install-gl5ta4cy/mysqlclient/setup.py'"'"'; __file__='"'"'/private/var/folders/wl/qt1g46754_z0b319rlzs_99h0000gn/T/pip-install-gl5ta4cy/mysqlclient/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 /private/var/folders/wl/qt1g46754_z0b319rlzs_99h0000gn/T/pip-pip-egg-info-lq79bnka
cwd: /private/var/folders/wl/qt1g46754_z0b319rlzs_99h0000gn/T/pip-install-gl5ta4cy/mysqlclient/
Complete output (12 lines):
/bin/sh: mysql_config: command not found
/bin/sh: mariadb_config: command not found
/bin/sh: mysql_config: command not found
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/wl/qt1g46754_z0b319rlzs_99h0000gn/T/pip-install-gl5ta4cy/mysqlclient/setup.py", line 15, in <module>
metadata, options = get_config()
File "/private/var/folders/wl/qt1g46754_z0b319rlzs_99h0000gn/T/pip-install-gl5ta4cy/mysqlclient/setup_posix.py", line 65, in get_config
libs = mysql_config("libs")
File "/private/var/folders/wl/qt1g46754_z0b319rlzs_99h0000gn/T/pip-install-gl5ta4cy/mysqlclient/setup_posix.py", line 31, in mysql_config
raise OSError("{} not found".format(_mysql_config_path))
OSError: mysql_config not found
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.