2

Anyone tried the custom plugin for Apache Airflow PythonVirtualenvOperator in Amazon MWAA (Amazon Managed Workflows for Apache Airflow)?

I properly followed all the steps described there, but I get a "No such file or directory: 'virtualenv': 'virtualenv'" error when I run the dag.

Cristian Scutaru
  • 1,375
  • 19
  • 23
  • Did you manage to get this to work? I am facing the same issues – lppier Dec 12 '21 at 04:27
  • 2
    I am also facing a similar issue (DAG Import Error - PythonVirtualenvOperator requires virtualenv, please install it) – trilson86 Apr 13 '22 at 17:48
  • trilson86, did you get this to work? I get PythonVirtualenvOperator requires virtualenv and I followed all the instructions in the link provided in the question above. I am about to post a detailed question about this. – MattG May 17 '22 at 00:13
  • 1
    This is answered at https://stackoverflow.com/a/72203130/833960. The PythonVirtualenvOperator code supplied on the AWS website is incorrect. – MattG May 17 '22 at 04:54

0 Answers0