diff --git a/docs/apache-airflow/howto/operator/python.rst b/docs/apache-airflow/howto/operator/python.rst index 210b528cf2396..ac9070208f717 100644 --- a/docs/apache-airflow/howto/operator/python.rst +++ b/docs/apache-airflow/howto/operator/python.rst @@ -60,8 +60,7 @@ is evaluated as a :ref:`Jinja template `. PythonVirtualenvOperator ======================== -Use the :class:`~airflow.operators.python.PythonVirtualenvOperator` to execute -Python callables inside a new Python virtual environment. +Use the :class:`~airflow.operators.python.PythonVirtualenvOperator` to execute Python callables inside a new Python virtual environment. The ``virtualenv`` package needs to be installed in the environment that runs Airflow (as optional dependency ``pip install airflow[virtualenv] --constraint ...``). .. exampleinclude:: /../../airflow/example_dags/example_python_operator.py :language: python