You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/07/19 01:09:31 UTC

[GitHub] [airflow] uranusjr commented on pull request #15788: Error earlier if virtualenv is not installed and DAG has a PythonVirtualenvOperator

uranusjr commented on pull request #15788:
URL: https://github.com/apache/airflow/pull/15788#issuecomment-882152906


   Technically `PythonVirtualenvOperator` does not require `virtualenv` to be installed in the same environment as Airflow, but only that `virtualenv` command is available in PATH. I would use `shutil.which("virtualenv")` to detect its existence instead.


-- 
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-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org