gelinger777 opened a new issue #14526: URL: https://github.com/apache/airflow/issues/14526
**Apache Airflow version**: 2.0.1 **Kubernetes version (if you are using kubernetes)** (use `kubectl version`): n.a **Environment**: Docker - **Cloud provider or hardware configuration**: Dedicated Server - **OS** (e.g. from /etc/os-release): Ubuntu 18.4 - **Kernel** (e.g. `uname -a`): Linux gelinger.at 4.15.0-136-generic #140-Ubuntu SMP Thu Jan 28 05:20:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux - **Install tools**: - **Others**: **What happened**: when I try to init the airflow via docker-compose I get following error ``` airflow-init_1 | BACKEND=postgresql+psycopg2 airflow-init_1 | DB_HOST=postgres airflow-init_1 | DB_PORT=5432 airflow-init_1 | airflow-init_1 | Traceback (most recent call last): airflow-init_1 | File "/home/airflow/.local/bin/airflow", line 5, in <module> airflow-init_1 | from airflow.__main__ import main airflow-init_1 | ModuleNotFoundError: No module named 'airflow' airflow-init_1 | Traceback (most recent call last): airflow-init_1 | File "/home/airflow/.local/bin/airflow", line 5, in <module> airflow-init_1 | from airflow.__main__ import main airflow-init_1 | ModuleNotFoundError: No module named 'airflow' airflow-init_1 | Traceback (most recent call last): airflow-init_1 | File "/home/airflow/.local/bin/airflow", line 5, in <module> airflow-init_1 | from airflow.__main__ import main airflow-init_1 | ModuleNotFoundError: No module named 'airflow' airflow-init_1 | Traceback (most recent call last): airflow-init_1 | File "/home/airflow/.local/bin/airflow", line 5, in <module> airflow-init_1 | from airflow.__main__ import main airflow-init_1 | ModuleNotFoundError: No module named 'airflow' airflow-init_1 | Traceback (most recent call last): airflow-init_1 | File "/home/airflow/.local/bin/airflow", line 5, in <module> airflow-init_1 | from airflow.__main__ import main airflow-init_1 | ModuleNotFoundError: No module named 'airflow' airflow_airflow-init_1 exited with code 1 ``` **What you expected to happen**: Expected is to init the database normally **Anything else we need to know**: ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
