Did you have any solutions for this now

Le samedi 11 mai 2019 15:16:10 UTC, Rob W a écrit :
>
> for my django project, we are using mysql.
>
> no matter how i try to install it, python-mysqldb, or just pip install 
> mysqlclient, it fails.
>
> i've installed mysqlconnector, i've tried everything. 
>
> any suggestions ?
>
>
> Collecting mysqlclient
>
>   Downloading 
> https://files.pythonhosted.org/packages/f4/f1/3bb6f64ca7a429729413e6556b7ba5976df06019a5245a43d36032f1061e/mysqlclient-1.4.2.post1.tar.gz
>  
> (85kB)
>
>      |████████████████████████████████| 92kB 1.3MB/s 
>
>     ERROR: Complete output from command python setup.py egg_info:
>
>     ERROR: /bin/sh: mysql_config: command not found
>
>     Traceback (most recent call last):
>
>       File "<string>", line 1, in <module>
>
>       File "/private/tmp/pip-install-suhqq3eh/mysqlclient/setup.py", line 
> 16, in <module>
>
>         metadata, options = get_config()
>
>       File 
> "/private/tmp/pip-install-suhqq3eh/mysqlclient/setup_posix.py", line 51, in 
> get_config
>
>         libs = mysql_config("libs")
>
>       File 
> "/private/tmp/pip-install-suhqq3eh/mysqlclient/setup_posix.py", line 29, in 
> mysql_config
>
>         raise EnvironmentError("%s not found" % (_mysql_config_path,))
>
>     OSError: mysql_config not found
>
>     ----------------------------------------
>
> ERROR: Command "python setup.py egg_info" failed with error code 1 in 
> /private/tmp/pip-install-suhqq3eh/mysqlclient/
>

-- 





Ce mail est à l’attention
exclusive des destinataires désignés. Il 
peut contenir des informations
confidentielles. 

Si
vous le recevez par 
erreur, merci de le détruire et d’en informer sans délais l’expéditeur. 



Le
contenu de ce mail ne pourrait engager la responsabilité de l’Université

Alioune DIOP de Bambey que s’il a été émis par une personne dûment 
habilitée,
agissant dans le cadre strict des fonctions auxquelles elle est 
employée et à
des fins non étrangères à ses attributions. 

Toute

diffusion, copie, publication partielle ou totale, ou toute autre 
utilisation
est interdite, sauf autorisation. 


-- 
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+unsubscr...@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/1382f045-4e66-4c19-9b1a-8572847f6d92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to