Max Barrios created AIRFLOW-2757:
------------------------------------

             Summary: pip install apache-airflow[mysql] fails: cannot find 
mysql_config
                 Key: AIRFLOW-2757
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2757
             Project: Apache Airflow
          Issue Type: Bug
    Affects Versions: Airflow 2.0
            Reporter: Max Barrios
             Fix For: Airflow 2.0


I cannot 'pip install apache-airflow[mysql] ' due to the following error:

Downloading 
https://files.pythonhosted.org/packages/ec/fd/83329b9d3e14f7344d1cb31f128e6dbba70c5975c9e57896815dbb1988ad/mysqlclient-1.3.13.tar.gz
 (90kB)
    100% |████████████████████████████████| 94kB 4.7MB/s
    Complete output from command python setup.py egg_info:
    sh: mysql_config: command not found
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/tmp/pip-build-GEFhX0/mysqlclient/setup.py", line 18, in <module>
        metadata, options = get_config()
      File "setup_posix.py", line 53, in get_config
        libs = mysql_config("libs_r")
      File "setup_posix.py", line 28, in mysql_config
        raise EnvironmentError("%s not found" % (mysql_config.path,))
    EnvironmentError: mysql_config not found

    ----------------------------------------
    Command "python setup.py egg_info" failed with error code 1 in 
/tmp/pip-build-GEFhX0/mysqlclient

However, mysql_config is in my path:
/jet/bin/mysql_config

Environment:

MySQL 5.7

Python 2.7.12

Pip 6.1.1



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to