I set up my airflow using pypi. An error occurred after start the airflow server by below command: airflow standalone
airflow_version == 2.2.0
python_version == 3.8.4
but i have installed virtualenv.
Exception as below:
Broken DAG: [/usr/local/python3/lib/python3.8/site-
packages/airflow/example_dags/example_python_operator.py] Traceback
(most recent call last):
File "/usr/local/python3/lib/python3.8/site-
packages/airflow/models/baseoperator.py", line 188, in apply_defaults
result = func(self,*args,**kwargs)
File "/usr/local/python3/lib/python3.8/site-
packages/airflow/operators/python.py", line 342, in __init__
raise AirflowException('PythonVirtualenvOperator requires virtualenv,
please install it.')
airflow.exceptions.AirflowException: PythonVirtualenvOperator requires
virtualenv, please install it
I have no idea to fix the bug, don't know what's wrong happen.


