You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Webserver will not start due to airflow error: ImportError: cannot import name 'resolve_types' from 'attr' (/usr/local/lib/python3.7/site-packages/attr/init.py)
Apache Airflow version: 1.10.12
Kubernetes version (if you are using kubernetes) (use
kubectl version
):Environment:
uname -a
): 5.4.0-56-generic Adding ftp hook #62-Ubuntu SMPWhat happened:
Webserver will not start due to airflow error: ImportError: cannot import name 'resolve_types' from 'attr' (/usr/local/lib/python3.7/site-packages/attr/init.py)
What you expected to happen:
Webserver start to test dags locally
How to reproduce it:
Use the docker-compose container above https://github.com/puckel/docker-airflow.git
Ubuntu 20.04
Run docker-compose up
Error occurs every single time.
Things already tried:
Modified dockerfile to include constraints for Python 3.7 container: --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-1.10.12/constraints-3.7.txt"
Added cattrs==1.0.0
Downgraded pip==20.2.4
Added attrs
None of the above suggestions are working. Anyone able to reproduce this and help solve?
The text was updated successfully, but these errors were encountered: