새소식

Framework/🤖 Airflow

[Solved] PythonVirtualenvOperator requires virtualenv, please install it

728x90

 

🔥 Problem

👉 PythonVirtualenvOperator requires virtualenv, please install it.

Broken DAG: [/usr/local/lib/python3.10/dist-packages/airflow/example_dags/example_branch_operator_decorator.py] Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/airflow/models/baseoperator.py", line 437, in apply_defaults
    result = func(self, **kwargs, default_args=default_args)
  File "/usr/local/lib/python3.10/dist-packages/airflow/operators/python.py", line 584, in __init__
    raise AirflowException("PythonVirtualenvOperator requires virtualenv, please install it.")
airflow.exceptions.AirflowException: PythonVirtualenvOperator requires virtualenv, please install it.

🧙 Solution

👉 Please run the following commands on Linux Terminal

pip3 install virtualenv

 

If I was of any help to you, please buy me coffee 😿😢😥

If you have any questions, please leave them in the comments

🧭 References

[1] reference : https://doctorson0309.tistory.com/

[2] Ads : https://play.google.com/store/apps/details?id=io.cordova.seoulfilter

반응형
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.