NotImplementedError when using streaming=True in Google Colab environment
CONTRIBUTOR
Hi, @Aniket17200, try upgrading datasets using '!pip install -U datasets'. I hope this will resolve your issue.
2025-07-23T13:46:33Z
https://github.com/huggingface/datasets/issues/7698#issuecomment-3108643682
https://api.github.com/repos/huggingface/datasets/issues/7698
IC_kwDODunzps65SiNi
https://api.github.com/repos/huggingface/datasets/issues/comments/3108643682/reactions
2025-07-23T13:46:33Z
https://api.github.com/repos/huggingface/datasets/issues/comments/3108643682
https://avatars.githubusercontent.com/u/84439872?v=4
https://api.github.com/users/tanuj-rai/events{/privacy}
https://api.github.com/users/tanuj-rai/followers
https://api.github.com/users/tanuj-rai/following{/other_user}
https://api.github.com/users/tanuj-rai/gists{/gist_id}
https://github.com/tanuj-rai
tanuj-rai
MDQ6VXNlcjg0NDM5ODcy
https://api.github.com/users/tanuj-rai/orgs
https://api.github.com/users/tanuj-rai/received_events
https://api.github.com/users/tanuj-rai/repos
https://api.github.com/users/tanuj-rai/starred{/owner}{/repo}
https://api.github.com/users/tanuj-rai/subscriptions
User
https://api.github.com/users/tanuj-rai
public
NONE
Thank you @tanuj-rai, it's working great 
2025-07-23T15:06:23Z
https://github.com/huggingface/datasets/issues/7698#issuecomment-3109038307
https://api.github.com/repos/huggingface/datasets/issues/7698
IC_kwDODunzps65UCjj
https://api.github.com/repos/huggingface/datasets/issues/comments/3109038307/reactions
2025-07-23T15:06:23Z
https://api.github.com/repos/huggingface/datasets/issues/comments/3109038307
https://avatars.githubusercontent.com/u/100470741?v=4
https://api.github.com/users/Aniket17200/events{/privacy}
https://api.github.com/users/Aniket17200/followers
https://api.github.com/users/Aniket17200/following{/other_user}
https://api.github.com/users/Aniket17200/gists{/gist_id}
https://github.com/Aniket17200
Aniket17200
U_kgDOBf0P1Q
https://api.github.com/users/Aniket17200/orgs
https://api.github.com/users/Aniket17200/received_events
https://api.github.com/users/Aniket17200/repos
https://api.github.com/users/Aniket17200/starred{/owner}{/repo}
https://api.github.com/users/Aniket17200/subscriptions
User
https://api.github.com/users/Aniket17200
public
### Describe the bug

When attempting to load a large dataset (like tiiuae/falcon-refinedweb or allenai/c4) using streaming=True in a standard Google Colab notebook, the process fails with a NotImplementedError: Loading a streaming dataset cached in a LocalFileSystem is not supported yet. This issue persists even after upgrading datasets and huggingface_hub and restarting the session.

### Steps to reproduce the bug

Open a new Google Colab notebook.

(Optional but recommended) Run !pip install --upgrade datasets huggingface_hub and restart the runtime.

Run the following code:

Python

from datasets import load_dataset

try:
    print("Attempting to load a stream...")
    streaming_dataset = load_dataset('tiiuae/falcon-refinedweb', streaming=True)
    print("Success!")
except Exception as e:
    print(e)

### Expected behavior

The load_dataset command should return a StreamingDataset object without raising an error, allowing iteration over the dataset.

Actual Behavior
The code fails and prints the following error traceback:

[PASTE THE FULL ERROR TRACEBACK HERE]
(Note: Copy the entire error message you received, from Traceback... to the final error line, and paste it in this section.)

### Environment info

Platform: Google Colab

datasets version: [Run !pip show datasets in Colab and paste the version here]

huggingface_hub version: [Run !pip show huggingface_hub and paste the version here]

Python version: [Run !python --version and paste the version here]