Rob,

On the off chance you haven't seen it, I found a Stack Overflow question on
this:
https://stackoverflow.com/questions/25459386/mac-os-x-environmenterror-mysql-config-not-found.
Unfortunately, I don't know Mac OS all that well to offer more help than
that.

-Jorge

On Sat, May 11, 2019 at 9:04 AM Rob Gmail <[email protected]> wrote:

> Mac OS
>
> Rob
> 203-671-6514
> Sent from my mobile device, please excuse the typos.
>
> On May 11, 2019, at 11:42 AM, Jorge Gimeno <[email protected]> wrote:
>
>
>
> 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
> <https://groups.google.com/d/msgid/django-users/CANfN%3DK-vw16fWxhZYa3f8VP6t6cCi5BA%2BoNtjmof99CQWNKb-Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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/E5694676-28BF-4FEB-92B8-0B5A86300438%40gmail.com
> <https://groups.google.com/d/msgid/django-users/E5694676-28BF-4FEB-92B8-0B5A86300438%40gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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%3DK8Bkqk8-8qFV9Wx6QGqUVK2nSCU-u67oFh7TcK63-bw5Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to