Import error DAG airflow cannot import name 'serialization'

367 Views Asked by At

I have written a Dag file with contain ssh hook implementation. I get import error in the DAG file

File "/usr/local/lib/python3.6/dist-packages/paramiko/transport.py", line 91, in from paramiko.dsskey import DSSKey File "/usr/local/lib/python3.6/dist-packages/paramiko/dsskey.py", line 25, in from cryptography.hazmat.primitives import hashes, serialization ImportError: cannot import name 'serialization'

enter image description here

how to resolve this?

thanks in advance Sundar

0

There are 0 best solutions below