Hi, 

Go to this site  https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysqlclient
i use this for my python 3.7 and windows x64  : 
mysqlclient-1.3.13-cp37-cp37m-win_amd64.whl
try :  pip install mysqlclient-1.3.13-cp37-cp37m-win_amd64.whl

regards

Pada Minggu, 11 November 2018 18.57.11 UTC+7, ansh.srivastav999 menulis:
>
> I m tryin' to connect mysql database with django, for that, I did this:-
>
>   python manage.py runserver
>
> but, this new mess came around sayin' :-
>
>  (django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.
>  Did you install mysqlclient?).
>
> But when I m tryin' to install mysqlclient through pip as:-
>
>   pip install mysqlclient
>
> another creepy thing comes up:-
>
>   _mysql.c(29): fatal error C1083: Cannot open include file: 'mysql.h': No 
>    such file or directory
>   error: command 'C:\\Program Files (x86)\\Microsoft Visual 
>   Studio\\2017\\Comm
>   unity\\VC\\Tools\\MSVC\\14.15.26726\\bin\\HostX86\\x86\\cl.exe' failed 
>   with exit status 2
>
> For installing mysql.h, I have downloaded mysql connector too, but the 
> error continues. I don't know how to proceed furher. Any help would be 
> appreciated.
>
>
> [image: Mailtrack] 
> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&;>
>  Sender 
> notified by 
> Mailtrack 
> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&;>
>  11/11/18, 
> 5:26:30 PM 
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/396993f8-9e9d-4e4e-ac6f-0e687576627d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to