Closed bayartsogt-ya closed 3 years ago
I'm facing the same issue on Colab today too.
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-4-5833ac0f5437> in <module>()
3
4 from ray import tune
----> 5 from datasets import DatasetDict, Dataset
6 from datasets import load_dataset, load_metric
7 from dataclasses import dataclass
7 frames
/usr/local/lib/python3.7/dist-packages/datasets/utils/file_utils.py in <module>()
25 import posixpath
26 import requests
---> 27 from tqdm.contrib.concurrent import thread_map
28
29 from .. import __version__, config, utils
ModuleNotFoundError: No module named 'tqdm.contrib.concurrent'
---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------
@phosseini I think it is related to 1.10.0 release done 3 hours ago. (cc: @lhoestq ) For now I just downgraded to 1.9.0 and it is working fine.
@phosseini I think it is related to 1.10.0 release done 3 hours ago. (cc: @lhoestq ) For now I just downgraded to 1.9.0 and it is working fine.
Same here, downgraded to 1.9.0 for now and works fine.
Hi,
updating tqdm to the newest version resolves the issue for me. You can do this as follows in Colab:
!pip install tqdm --upgrade
Hi @bayartsogt-ya and @phosseini, thanks for reporting.
We are fixing this critical issue and making an urgent patch release of the datasets
library today.
In the meantime, as pointed out by @mariosasko, you can circumvent this issue by updating the tqdm
library:
!pip install -U tqdm
Describe the bug
Got tqdm concurrent module not found error during importing load_dataset from datasets.
Steps to reproduce the bug
Here colab notebook to reproduce the error
On colab:
Expected results
Works without error
Actual results
Specify the actual results or traceback.
Environment info
datasets
version: 1.10.0