OS Manuals

/opt/airflow/bin/serve

Platform to programmatically author, schedule, and monitor workflows

From airflow-2 2.11.2-r28 (enterprise-packages), captured 2026-11-08 by running serve --help (exit 1) · terse output. permalink

Traceback (most recent call last):
  File "/opt/airflow/bin/serve", line 4, in <module>
    from ray.serve.scripts import cli
  File "/opt/airflow/lib/python3.12/site-packages/ray/serve/__init__.py", line 34, in <module>
    raise e
  File "/opt/airflow/lib/python3.12/site-packages/ray/serve/__init__.py", line 4, in <module>
    from ray.serve._private.logging_utils import configure_default_serve_logger
  File "/opt/airflow/lib/python3.12/site-packages/ray/serve/_private/logging_utils.py", line 12, in <module>
    from ray.serve._private.common import ServeComponentType
  File "/opt/airflow/lib/python3.12/site-packages/ray/serve/_private/common.py", line 6, in <module>
    from starlette.types import Scope
ModuleNotFoundError: No module named 'starlette'. You can run `pip install "ray[serve]"` to install all Ray Serve dependencies.

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.