On Sat, May 11, 2019 at 8:16 AM Rob W <[email protected]> wrote:

> 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/
>
> --
> 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/31f86e65-7e0a-49c7-b574-1670fba1ca18%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/31f86e65-7e0a-49c7-b574-1670fba1ca18%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Rob,

What operating system are you using?

-Jorge

-- 
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/CANfN%3DK-vw16fWxhZYa3f8VP6t6cCi5BA%2BoNtjmof99CQWNKb-Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to