Raise ImportError instead of OSError 
{'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}
[]
[]
_The documentation is not available anymore as the PR was closed or merged._ Thanks @mariosasko ,i commited the changes as you said.


fixes #5134  : Replaced OSError with ImportError if required extraction library is not installed. 
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5141/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
{'url': 'https://api.github.com/repos/huggingface/datasets/pulls/5141', 'html_url': 'https://github.com/huggingface/datasets/pull/5141', 'diff_url': 'https://github.com/huggingface/datasets/pull/5141.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/5141.patch', 'merged_at': '2022-10-25T15:56:58Z'}