KevinYanesG edited a comment on issue #21457: URL: https://github.com/apache/airflow/issues/21457#issuecomment-1033787765
>You need to install the postgres provider -- that is also missing from that tutorial https://airflow.apache.org/docs/apache-airflow-providers-postgres/2.4.0/#installation Thanks! But I actually already have the provider installed, since `from airflow.providers.postgres.hooks.postgres import PostgresHook` works for me without problems. I just thought that `from airflow.hooks.postgres` is wrong because it doesn't exist, or at least I didn't found it. The closest module is: `airflow.hooks.postgres_hook` (https://airflow.apache.org/docs/apache-airflow/1.10.6/_api/airflow/hooks/postgres_hook/index.html), from which you can import `PostgresHook` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
