简体   繁体   English

在 Airflow 中找不到 Postgres 模块?

[英]Postgres module not found in Airflow?

For some reason I'm having an issue importing from my airflow postgres packages.出于某种原因,我在从 airflow postgres 包导入时遇到问题。 Any ideas?有任何想法吗?

Error:错误:

错误图片

Modules:模块:

导入的模块图像

Requirement.txt file with packages: Requirement.txt 包含包的文件:

requirements.txt 图片

If you use Airflow 2.0+ the you should only install airflow-providers-postgres[aws] , no need to install backports packages.如果您使用 Airflow 2.0+,您应该只安装 airflow airflow-providers-postgres[aws] ,无需安装 backports 包。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM