(airflow_env) vk@Vivians-Air airflow % airflow db init
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/airflow/cli/commands/db_command.py:48 DeprecationWarning: `db init` is deprecated. Use `db migrate` instead to migrate the db and/or airflow connections create-default-connections to create the default connections
DB: sqlite:////Users/vk/airflow/airflow.db
[2024-07-01T23:24:07.800-0400] {migration.py:215} INFO - Context impl SQLiteImpl.
[2024-07-01T23:24:07.801-0400] {migration.py:218} INFO - Will assume non-transactional DDL.
[2024-07-01T23:24:07.847-0400] {migration.py:215} INFO - Context impl SQLiteImpl.
[2024-07-01T23:24:07.847-0400] {migration.py:218} INFO - Will assume non-transactional DDL.
[2024-07-01T23:24:07.847-0400] {db.py:1625} INFO - Creating tables
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
WARNI [unusual_prefix_20fbaf03112d9fdd19d2f462cf464b4a138540ea_example_local_kubernetes_executor] Could not import DAGs in example_local_kubernetes_executor.py
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/airflow/example_dags/example_local_kubernetes_executor.py", line 38, in
from kubernetes.client import models as k8s
ModuleNotFoundError: No module named 'kubernetes'
WARNI [unusual_prefix_20fbaf03112d9fdd19d2f462cf464b4a138540ea_example_local_kubernetes_executor] Install Kubernetes dependencies with: pip install apache-airflow[cncf.kubernetes]
WARNI [unusual_prefix_a085edc763ae1834b77cd797514ae3fbde904ddd_example_kubernetes_executor] The example_kubernetes_executor example DAG requires the kubernetes provider. Please install it with: pip install apache-airflow[cncf.kubernetes]
WARNI [airflow.models.crypto] empty cryptography key - values will not be stored encrypted.
Initialization done
Это ошибка, которую я получаю. Я не вижу файлов, созданных в каталоге airflow, который я создал вручную: ''' [code](airflow_env) vk@Vivians-Air airflow % airflow db init /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/airflow/cli/commands/db_command.py:48 DeprecationWarning: `db init` is deprecated. Use `db migrate` instead to migrate the db and/or airflow connections create-default-connections to create the default connections DB: sqlite:////Users/vk/airflow/airflow.db [2024-07-01T23:24:07.800-0400] {migration.py:215} INFO - Context impl SQLiteImpl. [2024-07-01T23:24:07.801-0400] {migration.py:218} INFO - Will assume non-transactional DDL. [2024-07-01T23:24:07.847-0400] {migration.py:215} INFO - Context impl SQLiteImpl. [2024-07-01T23:24:07.847-0400] {migration.py:218} INFO - Will assume non-transactional DDL. [2024-07-01T23:24:07.847-0400] {db.py:1625} INFO - Creating tables INFO [alembic.runtime.migration] Context impl SQLiteImpl. INFO [alembic.runtime.migration] Will assume non-transactional DDL. WARNI [unusual_prefix_20fbaf03112d9fdd19d2f462cf464b4a138540ea_example_local_kubernetes_executor] Could not import DAGs in example_local_kubernetes_executor.py Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/airflow/example_dags/example_local_kubernetes_executor.py", line 38, in from kubernetes.client import models as k8s ModuleNotFoundError: No module named 'kubernetes' WARNI [unusual_prefix_20fbaf03112d9fdd19d2f462cf464b4a138540ea_example_local_kubernetes_executor] Install Kubernetes dependencies with: pip install apache-airflow[cncf.kubernetes] WARNI [unusual_prefix_a085edc763ae1834b77cd797514ae3fbde904ddd_example_kubernetes_executor] The example_kubernetes_executor example DAG requires the kubernetes provider. Please install it with: pip install apache-airflow[cncf.kubernetes] WARNI [airflow.models.crypto] empty cryptography key - values will not be stored encrypted. Initialization done [/code] '''