hamad-tariq opened a new pull request, #37802: URL: https://github.com/apache/airflow/pull/37802
A follow up PR to #37727 . Instead of replacing the command to install Apache Airflow on Windows Environment, I have added the error details and an alternate to the original for anyone who faces the same error. The given PyPI installation command in the documentation throws the following error when one tries to download and install Apache Airflow on windows environment. ## Error Message ```bash At line:2 char:4 + --constraint "https://raw.githubusercontent.com/apache/airflow/const ... + ~ Missing expression after unary operator '--'. At line:2 char:4 + --constraint "https://raw.githubusercontent.com/apache/airflow/const ... + ~~~~~~~~~~ Unexpected token 'constraint' in expression or statement. + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException + FullyQualifiedErrorId : MissingExpressionAfterOperator ``` ## Solution The original bash command given in the documentation might not work on windows environment. For which we have an alternate command given by ### Original command ```bash pip install 'apache-airflow==2.8.2' \ >> --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.8.2/constraints-3.8.txt" ``` ### Alternate command ```bash pip install 'apache-airflow==2.8.2' --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.8.2/constraints-3.8.txt" ``` -- 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]
