Kwame Agyemang
Kwame Agyemang

Reputation: 1

airflows airflow.operators.python doesnt seem to work

i am trying to import the python operator for my airflow 2.2 in a jupyter notebook, but i get an error this is what i import import os import datetime import logging

import airflow from airflow import DAG from airflow.operators.python import PythonOperator

and this is the error "ModuleNotFoundError: No module named 'termios'"

Upvotes: 0

Views: 269

Answers (1)

phenderbender
phenderbender

Reputation: 785

you need to also import termios

import termios

Upvotes: 0

Related Questions