Raise ImportError instead of OSError if required extraction library is not installed
{'login': 'mariosasko', 'id': 47462742, 'node_id': 'MDQ6VXNlcjQ3NDYyNzQy', 'avatar_url': 'https://avatars.githubusercontent.com/u/47462742?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mariosasko', 'html_url': 'https://github.com/mariosasko', 'followers_url': 'https://api.github.com/users/mariosasko/followers', 'following_url': 'https://api.github.com/users/mariosasko/following{/other_user}', 'gists_url': 'https://api.github.com/users/mariosasko/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/mariosasko/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/mariosasko/subscriptions', 'organizations_url': 'https://api.github.com/users/mariosasko/orgs', 'repos_url': 'https://api.github.com/users/mariosasko/repos', 'events_url': 'https://api.github.com/users/mariosasko/events{/privacy}', 'received_events_url': 'https://api.github.com/users/mariosasko/received_events', 'type': 'User', 'site_admin': False}
[{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}, {'id': 1935892877, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODc3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/good%20first%20issue', 'name': 'good first issue', 'color': '7057ff', 'default': True, 'description': 'Good for newcomers'}, {'id': 4614514401, 'node_id': 'LA_kwDODunzps8AAAABEwvm4Q', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/hacktoberfest', 'name': 'hacktoberfest', 'color': 'DF8D62', 'default': False, 'description': ''}]
{'login': 'ayushthe1', 'id': 114604338, 'node_id': 'U_kgDOBtS5Mg', 'avatar_url': 'https://avatars.githubusercontent.com/u/114604338?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/ayushthe1', 'html_url': 'https://github.com/ayushthe1', 'followers_url': 'https://api.github.com/users/ayushthe1/followers', 'following_url': 'https://api.github.com/users/ayushthe1/following{/other_user}', 'gists_url': 'https://api.github.com/users/ayushthe1/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/ayushthe1/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/ayushthe1/subscriptions', 'organizations_url': 'https://api.github.com/users/ayushthe1/orgs', 'repos_url': 'https://api.github.com/users/ayushthe1/repos', 'events_url': 'https://api.github.com/users/ayushthe1/events{/privacy}', 'received_events_url': 'https://api.github.com/users/ayushthe1/received_events', 'type': 'User', 'site_admin': False}
[{'login': 'ayushthe1', 'id': 114604338, 'node_id': 'U_kgDOBtS5Mg', 'avatar_url': 'https://avatars.githubusercontent.com/u/114604338?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/ayushthe1', 'html_url': 'https://github.com/ayushthe1', 'followers_url': 'https://api.github.com/users/ayushthe1/followers', 'following_url': 'https://api.github.com/users/ayushthe1/following{/other_user}', 'gists_url': 'https://api.github.com/users/ayushthe1/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/ayushthe1/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/ayushthe1/subscriptions', 'organizations_url': 'https://api.github.com/users/ayushthe1/orgs', 'repos_url': 'https://api.github.com/users/ayushthe1/repos', 'events_url': 'https://api.github.com/users/ayushthe1/events{/privacy}', 'received_events_url': 'https://api.github.com/users/ayushthe1/received_events', 'type': 'User', 'site_admin': False}]
hey ,i would like to work on this issue . Please assign it to me. hey @mariosasko , i made a pr for this issue. Could you please review it.
Also i found multiple `OSError` in `extract.py` file which i thought could be replaced too but wasn't sure about them.
Please do tell if that also needs to be done.
According to the official Python docs, `OSError` should be thrown in the following situations:
> This exception is raised when a system function returns a system-related error, including I/O failures such as “file not found” or “disk full” (not for illegal argument types or other incidental errors).

Hence, it makes more sense to raise `ImportError` instead of `OSError` when the required extraction/decompression library is not installed.
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5134/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}