python - 在 Ubuntu 20.04、Errno 2 上安装 Airflow Pip
问题描述
我在 Windows 10 上运行的 Ubuntu 20.4 上不断收到此错误:
ERROR: Could not open requirements file: [Errno 2] No such file or directory: ''
我的命令:
AIRFLOW_VERSION=2.1.4
PYTHON_VERSION="$(python3 --version | cut -d " " -f 2 | cut -d "." -f 1-2)" CONSTRAINT_URL="https://raw.githubusercontent.com/apache/airflow/constraints-${AIRFLOW_VERSION}/constraints-${PYTHON_VERSION}.txt" pip install "apache-airflow[async,postgres,google,amazon,ssh,sftp]==${AIRFLOW_VERSION}" --constraint "${CONSTRAINT_URL}
它让我发疯,我认为它与安装命令无关,与 pip 有关?我检查并在 /user/bin 上安装了 pip3,我也运行了sudo apt-get install python-setuptools
, 和update
命令。任何想法如何解决它?
解决方案
推荐阅读
- processmaker - 如何在 dynaform 面板中将数组变量从触发器转换为 javascript 数组?
- spring-boot - Bitronix - JMS 和 JDBC - 消息因异常而出队
- html - 下拉菜单不允许我单击登录按钮
- node.js - 使用 bcrypt 创建 USER 并进行身份验证
- jquery - datatable 增加表格搜索过滤器宽度
- git - On bitbucket newly created git branch does not show in active or merged branch list
- single-sign-on - 如何检测哪个身份提供者发送响应
- python-3.x - 使用仅传递列索引的 awk 将列添加到文件 csv
- typescript - Typescript - Kotlin-like copy function
- java - 无法使用内存代理在 extjs 中的组合框存储中加载数据