Arkadaşlar yaklaşık 2 haftadır bu sorun ile uğraşıyorum. Bilen arkadaşlar yardımcı olabilir mi?
pip install flask-mysqldb komutu ile bir framework indirmeye çalışıyorum fakat şöyle bir sorun ile karşılaşıyorum bilgisi olan arkadaşlar yardımcı olabilir mi?


(myvenv) beratomur@192 berat proje % pip install flask-mysqldb
Collecting flask-mysqldb
Using cached Flask-MySQLdb-1.0.1.tar.gz (4.3 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting Flask>=0.12.4 (from flask-mysqldb)
Using cached Flask-2.3.2-py3-none-any.whl (96 kB)
Collecting mysqlclient>=1.3.7 (from flask-mysqldb)
Using cached mysqlclient-2.1.1.tar.gz (88 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [27 lines of output]
/bin/sh: mysql_config: command not found
/bin/sh: mariadb_config: command not found
/bin/sh: mysql_config: command not found
mysql_config --version
mariadb_config --version
mysql_config --libs
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "/private/var/folders/0h/vbh4zbm97m15swry7_p6n6q00000gn/T/pip-build-env-6_qicaqr/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "/private/var/folders/0h/vbh4zbm97m15swry7_p6n6q00000gn/T/pip-build-env-6_qicaqr/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
self.run_setup()
File "/private/var/folders/0h/vbh4zbm97m15swry7_p6n6q00000gn/T/pip-build-env-6_qicaqr/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 487, in run_setup
super(_BuildMetaLegacyBackend,
File "/private/var/folders/0h/vbh4zbm97m15swry7_p6n6q00000gn/T/pip-build-env-6_qicaqr/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in run_setup
exec(code, locals())
File "<string>", line 15, in <module>
File "/private/var/folders/0h/vbh4zbm97m15swry7_p6n6q00000gn/T/pip-install-0me1kcon/mysqlclient_1d180f7b88b0456d93af8b2adb9ce8ec/setup_posix.py", line 70, in get_config
libs = mysql_config("libs")
File "/private/var/folders/0h/vbh4zbm97m15swry7_p6n6q00000gn/T/pip-install-0me1kcon/mysqlclient_1d180f7b88b0456d93af8b2adb9ce8ec/setup_posix.py", line 31, in mysql_config
raise OSError("{} not found".format(_mysql_config_path))
OSError: mysql_config not found
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.


bu sorunu bilen arkadaş yardımcı olursa çok mutlu olurum.