Reputation: 27
I am currently working on an NLI project, and about a week ago, load_dataset('multi_nli') was working just fine. However, when I was about to import it again and test a different model, an import error is showing up.
ImportError: cannot import name 'setup_logging' from 'fsspec.utils' (/opt/conda/lib/python3.7/site-packages/fsspec/utils.py)
Everything should be installed, like datasets and such but it is not working.
Upvotes: 2
Views: 2443
Reputation: 76
Ran into the same issue in a kaggle notebook.
For me the solution was uninstalling s3fs
which was the package that caused the import of fsspec
in the first place. So just add this in a cell at the beginning of your kaggle notebook.
!pip3 install datasets
!pip3 uninstall fsspec
Upvotes: 3