Error "TypeError: not a path-like object" when iterating through a streamed dataset

We use fsspec to stream data, but Google colab has fsspec==2022.8.1 which has been YANKED on PyPI. The colab team must fix this.

In the meantime, you can simply update fsspec

pip install -U fsspec

issue reported here: Colab has buggy `fsspec==2022.8.1` which has been YANKED on PyPI · Issue #3055 · googlecolab/colabtools · GitHub

1 Like