This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
pip install mysqlclient error mysql_config not found linux #12
Labels
documentation
Improvements or additions to documentation
I've found an error while installing the mysqlclient pip's package on my Linux machine. Here is what I've found to fix this: https://stackoverflow.com/questions/5178292/pip-install-mysql-python-fails-with-environmenterror-mysql-config-not-found
So in Ubuntu, we need to install a package called
libmysqlclient-dev
. After I installed it, the error was gone. Let's add it to the initial steps guide in the mainREADME.md
.Also, there is some code snippet related to this problem:
https://www.codegrepper.com/code-examples/shell/install+mysqlclient+ubuntu+for+python+3.8
The text was updated successfully, but these errors were encountered: