ImportError: cannot import name 'escape' from 'jinja2'
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
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.
Thanks! It solved!