在Mac virtualenv上安装气流会导致:无法为使用PEP 517并且无法直接安装的熊猫制造轮子

问题描述

在虚拟环境中,我正在尝试安装apache-airflow。 macOS:10.13.6 Python:3.9

(airflow_venv) $ sudo -H pip install  apache-airflow==1.10.12  --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-1.10.12/constraints-3.7.txt

在安装了其他一些轮子之后,对于大熊猫,我收到以下错误-

ERROR: Could not build wheels for pandas which use PEP 517 and cannot be installed directly

我已经尝试过更新滚轮和点子。

解决方法

更改为python3.8,python3.9具有一些兼容性问题