MWargelin opened a new issue #16363:
URL: https://github.com/apache/airflow/issues/16363
**Apache Airflow version**: 2.1.0
**Environment**: Docker
**What happened**: I tried to install more than one pip packages using the
_PIP_ADDITIONAL_REQUIREMENTS enviroment variable when running Airflow image
built using the latest Dockerfile. My _PIP_ADDITIONAL_REQUIREMENTS was set to
"pandas scipy". The result was `ERROR: Invalid requirement: 'pandas scipy'`
**What you expected to happen**: I expected both pandas and scipy to install
without errors. I believe that the image is now trying to install one package
called "pandas scipy", which doesn't exist. I believe by removing the double
quotation marks surrounding the ${_PIP_ADDITIONAL_REQUIREMENTS=} from this line
of code would solve the issue:
https://github.com/apache/airflow/blob/main/scripts/in_container/prod/entrypoint_prod.sh#L327
**How to reproduce it**: Using image built using the latest Dockerfile, try
to run the image with `docker run --rm -it --env
_PIP_ADDITIONAL_REQUIREMENTS="pandas scipy" image:tag`
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]