Last active
April 23, 2023 05:48
-
-
Save shibli049/00f8bf3843ab615474da to your computer and use it in GitHub Desktop.
Install mysqlclient for python3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#sudo pip3 install mysqlclient fails with mysql_config not found | |
sudo apt-get install libmysqlclient-dev | |
#without pip3 it will not going to work for python3 | |
sudo pip3 install mysqlclient | |
# to run django migration | |
python3 manage.py migrate |
how to install mysqlclient this install time its getting error
No matching distribution found for setup.py like message it will through
Thanks it works for me
thanks! it works
same probleme
did you install mysqlclient?
Yes
…On Wed, 12 May, 2021, 07:46 samirjemaa, ***@***.***> wrote:
***@***.**** commented on this gist.
------------------------------
same probleme
did you install mysqlclient?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://gist.github.com/00f8bf3843ab615474da#gistcomment-3739432>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/APVLRG3GVCOBCRZP4SQAGTDTNHQGLANCNFSM4HHCFXDA>
.
recommend read and do this: https://pypi.org/project/mysqlclient/
thanks
++
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i install MySQL with "sudo apt-get install -y python3-mysqldb" and it install but when I go to python3 and import MySQL return error "no module name MySQL"
my os is ubuntu, how I can fix it?