You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Stevoisiak (via GitHub)" <gi...@apache.org> on 2026/08/03 15:47:34 UTC

Re: [D] Confused at the mixing of `uv` and `pip`/`venv` instructions in Quick Start guide [airflow]

GitHub user Stevoisiak edited a discussion: Confused at the mixing of `uv` and `pip`/`venv` instructions in Quick Start guide

In the [Quick Start guide for Airflow](https://airflow.apache.org/docs/apache-airflow/stable/start.html), I'm confused at how the steps for uv and pipx are mixed together.

Step 2 says to install airflow in a virtual environment using `uv` instead of `pip` and `venv`. It then links instructions on how to install `uv`, but doesn't list the commands to run for installing Airflow with `uv`. Instead, the next listed commands are on how to install using `pip` and `venv`. But then, step 3 lists how to install Airflow using the constraints file using `uv`, which seems like a repeat of what step 2 already said to do.

When I try installing `uv` with `curl -LsSf https://astral.sh/uv/install.sh | sh` as instructed in step 2, then running the `uv` command to install airflow in step 3, I get an error `Command 'python' not found`. I believe the issue is that the Python installation step is bundled in with Step 2's code, but that code was explained as how to install with `pip` and `venv`, rather than being explained as required for `uv` installation.

What is the correct order of steps to follow when installing with `uv`?

GitHub link: https://github.com/apache/airflow/discussions/71000

----
This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@airflow.apache.org