potiuk commented on code in PR #50174: URL: https://github.com/apache/airflow/pull/50174#discussion_r2072629577
########## README.md: ########## @@ -188,6 +188,69 @@ pip install 'apache-airflow[postgres,google]==3.0.0' \ For information on installing provider distributions, check [providers](http://airflow.apache.org/docs/apache-airflow-providers/index.html). +3. Setting up Apache Airflow on Mac M1 or above (Apple Silicon) users + +- **Create and Activate a Virtual Environment**: Since Apache Airflow requires multiple dependencies, it's a good practice to isolate these dependencies in a virtual environment. + +- Create a virtual environment: + +```bash +python3 -m venv airflow_venv Review Comment: This (and next) we absolutely discourage running Airflow with Python that is installed in the OS by default. Those Python binaries installed by OS distributors (and this is not only MacOS - it's also with a number of Linux distros) - are often limited, linked to some modified system packages and generally it's heavily discouraged to use those Python interpreters for anything else than the OS needs it for. We should recommend configuring and installing "vanilla" Python installation (for example `uv` can install them quickly, also Python provides installers for different OS's. -- 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]
