kennyth01 opened a new issue, #25269:
URL: https://github.com/apache/airflow/issues/25269

   ### Apache Airflow version
   
   2.0.2
   
   ### What happened
   
   Hi all,
   Can anyone guide me, I woke up in the morning and suddenly I have this issue 
with the ImportError, can anyone guide me, please?
   
   
   ` File 
"/root/airflow-venv/airflow_virtualenv/lib/python3.7/site-packages/flask_appbuilder/security/decorators.py",
 line 21, in <module>
       from flask_login import current_user
     File 
"/root/airflow-venv/airflow_virtualenv/lib/python3.7/site-packages/flask_login/__init__.py",
 line 12, in <module>
       from .login_manager import LoginManager
     File 
"/root/airflow-venv/airflow_virtualenv/lib/python3.7/site-packages/flask_login/login_manager.py",
 line 35, in <module>
       from .utils import _create_identifier
     File 
"/root/airflow-venv/airflow_virtualenv/lib/python3.7/site-packages/flask_login/utils.py",
 line 14, in <module>
       from werkzeug.routing import parse_rule
   ImportError: cannot import name 'parse_rule' from 'werkzeug.routing' 
(/root/airflow-venv/airflow_virtualenv/lib/python3.7/site-packages/werkzeug/routing/__init__.py)
   `
   
   ### What you think should happen instead
   
   _No response_
   
   ### How to reproduce
   
   I am using virtualenv
   
   ### Operating System
   
   using image: python:3.7.3 in bitbucket pipelines
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow==2.0.2
   apache-airflow-providers-ftp==1.1.0
   apache-airflow-providers-http==2.0.0
   apache-airflow-providers-imap==1.0.1
   apache-airflow-providers-slack==4.0.0
   apache-airflow-providers-sqlite==1.0.2
   apache-airflow-providers-ssh==1.3.0
   setproctitle==1.2.2
   pytest==6.2.4
   markdown==3.3.4
   awscli==1.19.5
   apache-airflow[databricks]
   
   
   ### Deployment
   
   Virtualenv installation
   
   ### Deployment details
   
   bitbucket pipelines deploying dags to s3, using mwaa
   
   ### Anything else
   
   Suddenly I have this issue with the ImportError, can anyone guide me, please?
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to