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 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/31f86e65-7e0a-49c7-b574-1670fba1ca18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to