[Python] Airflow failed installation [closed]

Discussão em 'Python' iniciado por Stack, Julho 1, 2025.

  1. Stack

    Stack Membro Participativo

    I asked AI to tell me how to do use airflow. The AI told me to first get version Python 3.8 to 3.11, so I installed 3.11, then when I tried to install it using:

    pip install "apache-airflow==2.8.1" --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.8.1/constraints-3.11.txt"

    It gave me this error:


    Defaulting to user installation because normal site-packages is not writeable
    ​

    with a lot of red text.

    I tried doing this in an admin powershell but it didn't work. I tried to use a venv but it didn't work. I also tried to use python -m before the pip install but it didn't work.

    Continue reading...

Compartilhe esta Página