Wednesday, June 12, 2019

Re: mysqlclient installation error


 Links to resources I used to help me get MySQL working on Django

Visual Studio Build Tools Installer  - Link

MySQL DB and Connectors Web Installer  - Link
(I downloaded the complete package and installed everything including all the connectors)

And lastly which was like the trick that worked for me:
I uninstalled Python and used the python web installer to get the latest version of python.

PS: Something to be considered what's your system architecture if 32bit(x86) / 64bit(x64)

Choose the software build for your system architecture to be installed.

For instance:

I installed 64bit Python 3.7
same with my MySQL, I installed 64bit 
Because there are dependencies those software look for in certain places.

I truly hope this works for You,

Also when installing mysqlclient I didn't specify a version, I just did "pip install mysqlclient"

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/896a9747-8446-4163-a8c0-c421ba2b2192%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment