module 'resource' has no attribute 'error'
COLLABORATOR
This (Windows) issue was fixed in `fsspec` in https://github.com/fsspec/filesystem_spec/pull/1275.  So, to avoid the error, update the `fsspec` installation with `pip install -U fsspec`.
2023-10-17T13:17:49Z
https://github.com/huggingface/datasets/issues/6308#issuecomment-1766401648
https://api.github.com/repos/huggingface/datasets/issues/6308
IC_kwDODunzps5pSSZw
https://api.github.com/repos/huggingface/datasets/issues/comments/1766401648/reactions
2023-10-17T13:18:23Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1766401648
https://avatars.githubusercontent.com/u/47462742?v=4
https://api.github.com/users/mariosasko/events{/privacy}
https://api.github.com/users/mariosasko/followers
https://api.github.com/users/mariosasko/following{/other_user}
https://api.github.com/users/mariosasko/gists{/gist_id}
https://github.com/mariosasko
mariosasko
MDQ6VXNlcjQ3NDYyNzQy
https://api.github.com/users/mariosasko/orgs
https://api.github.com/users/mariosasko/received_events
https://api.github.com/users/mariosasko/repos
https://api.github.com/users/mariosasko/starred{/owner}{/repo}
https://api.github.com/users/mariosasko/subscriptions
User
https://api.github.com/users/mariosasko
public
NONE
> This (Windows) issue was fixed in `fsspec` in [fsspec/filesystem_spec#1275](https://github.com/fsspec/filesystem_spec/pull/1275). So, to avoid the error, update the `fsspec` installation with `pip install -U fsspec`.

after I run `pip install -U fsspec`

it occurs a new error:
```
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflict
s.
datasets 2.14.5 requires fsspec[http]<2023.9.0,>=2023.1.0, but you have fsspec 2023.9.2 which is incompatible.

```
2023-10-18T02:50:02Z
https://github.com/huggingface/datasets/issues/6308#issuecomment-1767532910
https://api.github.com/repos/huggingface/datasets/issues/6308
IC_kwDODunzps5pWmlu
https://api.github.com/repos/huggingface/datasets/issues/comments/1767532910/reactions
2023-10-18T02:50:02Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1767532910
https://avatars.githubusercontent.com/u/48009681?v=4
https://api.github.com/users/NeoWang9999/events{/privacy}
https://api.github.com/users/NeoWang9999/followers
https://api.github.com/users/NeoWang9999/following{/other_user}
https://api.github.com/users/NeoWang9999/gists{/gist_id}
https://github.com/NeoWang9999
NeoWang9999
MDQ6VXNlcjQ4MDA5Njgx
https://api.github.com/users/NeoWang9999/orgs
https://api.github.com/users/NeoWang9999/received_events
https://api.github.com/users/NeoWang9999/repos
https://api.github.com/users/NeoWang9999/starred{/owner}{/repo}
https://api.github.com/users/NeoWang9999/subscriptions
User
https://api.github.com/users/NeoWang9999
public
COLLABORATOR
The `fsspec<2023.9.0` upper bound will be removed in the next release. The `ResourceError` fix is also present in version 2023.6.0, so use that version in the meantime (`pip install fsspec==2023.6.0`).
2023-10-18T12:48:36Z
https://github.com/huggingface/datasets/issues/6308#issuecomment-1768382569
https://api.github.com/repos/huggingface/datasets/issues/6308
IC_kwDODunzps5pZ2Bp
https://api.github.com/repos/huggingface/datasets/issues/comments/1768382569/reactions
2023-10-18T12:48:36Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1768382569
https://avatars.githubusercontent.com/u/47462742?v=4
https://api.github.com/users/mariosasko/events{/privacy}
https://api.github.com/users/mariosasko/followers
https://api.github.com/users/mariosasko/following{/other_user}
https://api.github.com/users/mariosasko/gists{/gist_id}
https://github.com/mariosasko
mariosasko
MDQ6VXNlcjQ3NDYyNzQy
https://api.github.com/users/mariosasko/orgs
https://api.github.com/users/mariosasko/received_events
https://api.github.com/users/mariosasko/repos
https://api.github.com/users/mariosasko/starred{/owner}{/repo}
https://api.github.com/users/mariosasko/subscriptions
User
https://api.github.com/users/mariosasko
public
NONE
> The `fsspec<2023.9.0` upper bound will be removed in the next release. The `ResourceError` fix is also present in version 2023.6.0, so use that version in the meantime (`pip install fsspec==2023.6.0`).

thanks for reply！
2023-10-24T12:16:28Z
https://github.com/huggingface/datasets/issues/6308#issuecomment-1777093423
https://api.github.com/repos/huggingface/datasets/issues/6308
IC_kwDODunzps5p7Esv
https://api.github.com/repos/huggingface/datasets/issues/comments/1777093423/reactions
2023-10-24T12:16:28Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1777093423
https://avatars.githubusercontent.com/u/48009681?v=4
https://api.github.com/users/NeoWang9999/events{/privacy}
https://api.github.com/users/NeoWang9999/followers
https://api.github.com/users/NeoWang9999/following{/other_user}
https://api.github.com/users/NeoWang9999/gists{/gist_id}
https://github.com/NeoWang9999
NeoWang9999
MDQ6VXNlcjQ4MDA5Njgx
https://api.github.com/users/NeoWang9999/orgs
https://api.github.com/users/NeoWang9999/received_events
https://api.github.com/users/NeoWang9999/repos
https://api.github.com/users/NeoWang9999/starred{/owner}{/repo}
https://api.github.com/users/NeoWang9999/subscriptions
User
https://api.github.com/users/NeoWang9999
public
### Describe the bug

just run import:
`from datasets import load_dataset`

and then:
```

  File "C:\ProgramData\anaconda3\envs\py310\lib\site-packages\datasets\__init__.py", line 22, in <module>
    from .arrow_dataset import Dataset
  File "C:\ProgramData\anaconda3\envs\py310\lib\site-packages\datasets\arrow_dataset.py", line 66, in <module>
    from .arrow_reader import ArrowReader
  File "C:\ProgramData\anaconda3\envs\py310\lib\site-packages\datasets\arrow_reader.py", line 30, in <module>
    from .download.download_config import DownloadConfig
  File "C:\ProgramData\anaconda3\envs\py310\lib\site-packages\datasets\download\__init__.py", line 10, in <module>
    from .streaming_download_manager import StreamingDownloadManager
  File "C:\ProgramData\anaconda3\envs\py310\lib\site-packages\datasets\download\streaming_download_manager.py", line 21, in <module>
    from ..filesystems import COMPRESSION_FILESYSTEMS
  File "C:\ProgramData\anaconda3\envs\py310\lib\site-packages\datasets\filesystems\__init__.py", line 8, in <module>
    import fsspec.asyn
  File "C:\ProgramData\anaconda3\envs\py310\lib\site-packages\fsspec\asyn.py", line 157, in <module>
    ResourceEror = resource.error
AttributeError: module 'resource' has no attribute 'error'

Process finished with exit code 1

```


and the error codes are:
```
try:
    import resource
except ImportError:
    resource = None
    ResourceError = OSError
else:
    ResourceEror = resource.error

```
1. miss spelling : "ResourceEror " should be "ResourceErorr"
2. module 'resource' has no attribute 'error'




### Steps to reproduce the bug

only one step:

`from datasets import load_dataset`

### Expected behavior

slove error: module 'resource' has no attribute 'error'

### Environment info

python=3.10

datasets==2.14.5
