AttributeError: module 'matplotlib.cbook' has no attribute 'mplDeprecation'

Hi @Ali_Sultan, and welcome to our community! :raised_hands:

It’s been a while since the streamlit_pandas_profiling library has been updated, so my assumption is that you may need to downgrade your matplotlib version to one compatible with the streamlit_pandas_profiling module.

You can try version 3.2.2 or another suitable version as follows:

pip install matplotlib==3.2.2

I hope this resolves the issue for you.

Let me know.

Best,
Charly