airflow - 有人可以帮我启动 apache 气流吗?
问题描述
我正在尝试安装 apache 气流,但出现语法错误。我有 python 2.7
错误:
$pip install apache-airflow
Collecting apache-airflow
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/_z/q60knmsn7m11y4hf82qbg4p00000gn/T/pip-install-f9ssqcze/apache-airflow/setup.py", line 102
async = [
^
SyntaxError: invalid syntax
Command "python setup.py egg_info" failed with error code 1...
解决方案
apache-airflow 不支持 Python3.7(截至 2018 年 8 月 22 日)
在 Python 3.6 中安装气流,它应该可以工作。
如果你已经安装了 python3.7,试试 conda 之类的包管理器。你应该没事。以下是一些参考资料:
https://www.mail-archive.com/commits@airflow.incubator.apache.org/msg16846.html https://gitter.im/apache/incubator-airflow?at=5b5130bac86c4f0b47201af0 https://gitter.im/ apache/孵化器气流?at=5b5131149ddf5f4aadf78379
推荐阅读
- php - Laravel 8 Seeder Factory:在 null 上调用成员函数 count()
- apache-zookeeper - 如何使用 zookeeper java api-s 添加带有子节点的 znode
- docker - Docker:设置多行环境变量
- mapping - Arcgis Online:不将日期识别为时间数据,不显示时间设置
- python - 在 Flask API 中使用多个键显示不同的数据
- windows - AAPThreshold,按键后触摸板会在短时间内停用
- java - IndexCoordinates 无法使用弹性搜索解析符号
- javascript - NextJS 反应钩子 - 将异步状态传递给子组件
- javascript - 我无法与 #shadow-root 内且具有
- c++ - Trouble building Assimp library for MinGW