GuillaumeDesforges opened a new issue #12888:
URL: https://github.com/apache/airflow/issues/12888


   https://github.com/apache/airflow/pull/7808 has been done for 2.*, but 
running
   
   ```
   python -m airflow
   ```
   
   on airflow 1.* will fail (e.g. current airflow 1.10.14rc4).
   
   It is required to be launched this way for some environments, or else:
   
   ```
   Running the Gunicorn Server with:
   Workers: 4 sync
   Host: 0.0.0.0:8080
   Timeout: 120
   Logfiles: - -
   =================================================================            
   
   Error: No module named 'airflow'
   ``` 
   
   since gunicorn spawns processes without the proper Python env.


----------------------------------------------------------------
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]


Reply via email to