Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'escape' from 'jinja2' #2

Open
lawrencechen0921 opened this issue Apr 19, 2022 · 2 comments
Open

ImportError: cannot import name 'escape' from 'jinja2' #2

lawrencechen0921 opened this issue Apr 19, 2022 · 2 comments

Comments

@lawrencechen0921
Copy link

When I try to do this lab today and type docker compose up -dand use docker compose logs to check my application is work or not, and I got the information said ImportError: cannot import name 'escape' from 'jinja2' , so I decided to search on stackoverflow, and I change backend requirement.txt Flask version to 2.1.0 but it still not work.

Is there some issues happens to this project!

Thanks,
Lawrence

@seodea
Copy link

seodea commented Jun 20, 2022

I solved to change Flask version to 2.1.0 on 20.Jun
I just shared my environment I used python 3.8 version and I just removed import os in backend hello.py file. becuase there are same commands.
If you share your environment, It's more helpful to solve issue.

@lawrencechen0921
Copy link
Author

Thanks! It solved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants