Permission Error [error 13] with @cache_data for deployed streamlit app

Hi @huang1000,

Thank you for sharing your question with the community!

So it seems your code is trying to write to a directory (shap/cached_data) but it does not have the permission to do so on the Streamlit Community Cloud.

Also, please check out our guidelines on how to post an effective question here and update your post to help the community answer your question.