okld/streamlit-pandas-profiling

Import error from jinja

Closed this issue · 1 comments

ImportError: cannot import name 'escape' from 'jinja2.utils'.

This error appears because jinja removed this method in a newer version. Escape could be imported from MarkupSafe.

Solved it! It installed automatically pandas-profiling==3.0.0 but updating it to 3.1.0 did the work!

poetry add "pandas-profiling==3.1.0"