# NotImplementedError when loading dataset with Streamlit

**URL:** <https://discuss.huggingface.co/t/notimplementederror-when-loading-dataset-with-streamlit/59599>\
**Category:** 🤗Datasets\
**Created:** [October 23, 2023, 7:19pm UTC](https://discuss.huggingface.co/t/notimplementederror-when-loading-dataset-with-streamlit/59599 "2023-10-23T19:19:37Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![SaiedAlshahrani](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/saiedalshahrani/32/18594_2.png) [@SaiedAlshahrani](https://discuss.huggingface.co/u/SaiedAlshahrani)\
**Post date:** [October 23, 2023, 7:19pm UTC](https://discuss.huggingface.co/t/notimplementederror-when-loading-dataset-with-streamlit/59599/1 "2023-10-23T19:19:37Z")

</div>

Hi,

I have a Streamlit app that was working fine, which basically loads a dataset from HF (CSV-based dataset), but now, the app is crushed and shows the following error " `NotImplementedError: Loading a dataset cached in a LocalFileSystem is not supported.`". I have no idea what causing this error.

Any ideas on how to solve this error?

Thank you.

---

<div class="post-metadata">

**Author:** ![lhoestq](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/lhoestq/32/52888_2.png) [@lhoestq](https://discuss.huggingface.co/u/lhoestq)\
**Post date:** [October 24, 2023, 8:56am UTC](https://discuss.huggingface.co/t/notimplementederror-when-loading-dataset-with-streamlit/59599/2 "2023-10-24T08:56:31Z")

</div>

Updating `datasets` should fix the issue

```auto
pip install -U datasets 

```

---

<div class="post-metadata">

**Author:** ![mox](https://avatars.discourse-cdn.com/v4/letter/m/f04885/32.png) [@mox](https://discuss.huggingface.co/u/mox)\
**Post date:** [October 24, 2023, 10:10am UTC](https://discuss.huggingface.co/t/notimplementederror-when-loading-dataset-with-streamlit/59599/3 "2023-10-24T10:10:23Z")

</div>

Same issue for me today. Tried pip install -U datasets but did not work

---

<div class="post-metadata">

**Author:** ![SaiedAlshahrani](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/saiedalshahrani/32/18594_2.png) [@SaiedAlshahrani](https://discuss.huggingface.co/u/SaiedAlshahrani)\
**Post date:** [October 24, 2023, 2:10pm UTC](https://discuss.huggingface.co/t/notimplementederror-when-loading-dataset-with-streamlit/59599/4 "2023-10-24T14:10:49Z")

</div>

Thank you. The update solved the problem.

---

<div class="post-metadata">

**Author:** ![rubtal](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@rubtal](https://discuss.huggingface.co/u/rubtal)\
**Post date:** [November 7, 2023, 8:21am UTC](https://discuss.huggingface.co/t/notimplementederror-when-loading-dataset-with-streamlit/59599/5 "2023-11-07T08:21:19Z")

</div>

> <https://stackoverflow.com/questions/77433096/notimplementederror-loading-a-dataset-cached-in-a-localfilesystem-is-not-suppor/77433141#77433141>

---

<div class="post-metadata">

**Author:** ![CrazyElements](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@CrazyElements](https://discuss.huggingface.co/u/CrazyElements)\
**Post date:** [December 22, 2023, 7:44am UTC](https://discuss.huggingface.co/t/notimplementederror-when-loading-dataset-with-streamlit/59599/6 "2023-12-22T07:44:28Z")

</div>

Thanks, it works.

---

<div class="post-metadata">

**Author:** ![nipenmehta](https://avatars.discourse-cdn.com/v4/letter/n/f04885/32.png) [@nipenmehta](https://discuss.huggingface.co/u/nipenmehta)\
**Post date:** [May 17, 2025, 8:16pm UTC](https://discuss.huggingface.co/t/notimplementederror-when-loading-dataset-with-streamlit/59599/7 "2025-05-17T20:16:14Z")

</div>

It worked for me too, Thank you!

---

<div class="post-metadata">

**Author:** ![AsenDulakshana](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/asendulakshana/32/49095_2.png) [@AsenDulakshana](https://discuss.huggingface.co/u/AsenDulakshana)\
**Post date:** [June 9, 2025, 6:05am UTC](https://discuss.huggingface.co/t/notimplementederror-when-loading-dataset-with-streamlit/59599/8 "2025-06-09T06:05:11Z")

</div>

Thank you. The update solved the problem. 🤗

---

<div class="post-metadata">

**Author:** ![CallmeBaoBao](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@CallmeBaoBao](https://discuss.huggingface.co/u/CallmeBaoBao)\
**Post date:** [June 16, 2025, 1:15pm UTC](https://discuss.huggingface.co/t/notimplementederror-when-loading-dataset-with-streamlit/59599/9 "2025-06-16T13:15:18Z")

</div>

Bro you help me in 2025!!
