ModuleNotFoundError: No module named 'datasets.tasks' while importing common voice datasets
MEMBER
Hi @profsatwinder.

It looks like you are using an old version of `datasets`. Please update it with `pip install -U datasets` and indicate if the problem persists.
2021-07-06T05:42:20Z
https://github.com/huggingface/datasets/issues/2595#issuecomment-874476453
https://api.github.com/repos/huggingface/datasets/issues/2595
MDEyOklzc3VlQ29tbWVudDg3NDQ3NjQ1Mw==
https://api.github.com/repos/huggingface/datasets/issues/comments/874476453/reactions
2021-07-06T05:42:20Z
https://api.github.com/repos/huggingface/datasets/issues/comments/874476453
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
NONE
@albertvillanova Thanks for the information. I updated it to 1.9.0 and the issue is resolved. Thanks again. 
2021-07-06T05:44:59Z
https://github.com/huggingface/datasets/issues/2595#issuecomment-874477441
https://api.github.com/repos/huggingface/datasets/issues/2595
MDEyOklzc3VlQ29tbWVudDg3NDQ3NzQ0MQ==
https://api.github.com/repos/huggingface/datasets/issues/comments/874477441/reactions
2021-07-06T05:44:59Z
https://api.github.com/repos/huggingface/datasets/issues/comments/874477441
https://avatars.githubusercontent.com/u/41314912?v=4
https://api.github.com/users/profsatwinder/events{/privacy}
https://api.github.com/users/profsatwinder/followers
https://api.github.com/users/profsatwinder/following{/other_user}
https://api.github.com/users/profsatwinder/gists{/gist_id}
https://github.com/profsatwinder
profsatwinder
MDQ6VXNlcjQxMzE0OTEy
https://api.github.com/users/profsatwinder/orgs
https://api.github.com/users/profsatwinder/received_events
https://api.github.com/users/profsatwinder/repos
https://api.github.com/users/profsatwinder/starred{/owner}{/repo}
https://api.github.com/users/profsatwinder/subscriptions
User
https://api.github.com/users/profsatwinder
public
Error traceback:
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-8-a7b592d3bca0> in <module>()
      1 from datasets import load_dataset, load_metric
      2 
----> 3 common_voice_train = load_dataset("common_voice", "pa-IN", split="train+validation")
      4 common_voice_test = load_dataset("common_voice", "pa-IN", split="test")

9 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/common_voice/078d412587e9efeb0ae2e574da99c31e18844c496008d53dc5c60f4159ed639b/common_voice.py in <module>()
     19 
     20 import datasets
---> 21 from datasets.tasks import AutomaticSpeechRecognition
     22 
     23 

ModuleNotFoundError: No module named 'datasets.tasks'