Skip to content
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

Open
ryumada opened this issue May 26, 2022 · 0 comments
Open

pip install mysqlclient error mysql_config not found linux #12

ryumada opened this issue May 26, 2022 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@ryumada
Copy link
Contributor

ryumada commented May 26, 2022

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 main README.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

@ryumada ryumada added the documentation Improvements or additions to documentation label May 26, 2022
@ryumada ryumada self-assigned this May 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant