小编mas*_*ifu的帖子

无法安装 apache-airflow-providers-mysql:pkg-config 错误

我正在使用 Debian/Ubuntu,并且尝试在我的 Python 虚拟环境中安装 Airflow 提供程序:

\n
$ pip install apache-airflow-providers-mysql\n  error: subprocess-exited-with-error\n\n  \xc3\x97 Getting requirements to build wheel did not run successfully.\n  \xe2\x94\x82 exit code: 1\n  \xe2\x95\xb0\xe2\x94\x80> [24 lines of output]\n      /bin/sh: 1: pkg-config: not found\n      /bin/sh: 1: pkg-config: not found\n      Trying pkg-config --exists mysqlclient\n      Command 'pkg-config --exists mysqlclient' returned non-zero exit status 127.\n      Trying pkg-config --exists mariadb\n      Command 'pkg-config --exists mariadb' returned non-zero exit status 127.\n      Traceback (most recent call last):\n        File "/home/user/airflow/airflow_env/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>\n          main()\n …
Run Code Online (Sandbox Code Playgroud)

ubuntu debian mysql-python python-3.x airflow

15
推荐指数
3
解决办法
1万
查看次数

标签 统计

airflow ×1

debian ×1

mysql-python ×1

python-3.x ×1

ubuntu ×1