praneeth552 commented on code in PR #50179: URL: https://github.com/apache/airflow/pull/50179#discussion_r2073017697
########## README.md: ########## @@ -188,6 +188,75 @@ 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). +## Setting up Apache Airflow on Apple Silicon (Mac M1/M2/M3/M4) + +> ⚠️ Avoid using either system-installed Python or Python from Homebrew, as these versions are often labeled `--externally-managed` resulting in restricted dependency installation. + +### ✅ Recommended Setup (using pyenv): + +1. **Install pyenv**: + +```bash +brew install pyenv +``` + +2. **Install Python**: + +```bash +pyenv install 3.11.9 +pyenv global 3.11.9 +``` + +3. **Check Python version**: + +```bash +python --version +``` + +4. **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 +python -m venv airflow_venv +``` + +- Activate the virtual environment: + +```bash +source airflow_venv/bin/activate +``` + +5. **Install Apache Airflow**: Apache Airflow is available on PyPI. To install it, you can use the following command in your terminal: + +```bash +pip install apache-airflow Review Comment: Ok thank you, surely i will update the changes specified. -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org