AttributeError: module 'pyarrow' has no attribute 'PyExtensionType' during import 
MEMBER
Hi ! I'm not able to reproduce the issue. Can you try restarting your runtime ?

The PyExtensionType is available in pyarrow starting 0.17.1 iirc. If restarting your runtime doesn't fix this, can you try updating pyarrow ?
```
pip install pyarrow --upgrade
```
2021-01-26T10:53:04Z
https://github.com/huggingface/datasets/issues/1781#issuecomment-767463933
https://api.github.com/repos/huggingface/datasets/issues/1781
MDEyOklzc3VlQ29tbWVudDc2NzQ2MzkzMw==
https://api.github.com/repos/huggingface/datasets/issues/comments/767463933/reactions
2021-01-26T10:53:04Z
https://api.github.com/repos/huggingface/datasets/issues/comments/767463933
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
MEMBER
We should bump up the version test of pyarrow maybe no?

https://github.com/huggingface/datasets/blob/master/src/datasets/__init__.py#L60
2021-01-26T11:21:54Z
https://github.com/huggingface/datasets/issues/1781#issuecomment-767478783
https://api.github.com/repos/huggingface/datasets/issues/1781
MDEyOklzc3VlQ29tbWVudDc2NzQ3ODc4Mw==
https://api.github.com/repos/huggingface/datasets/issues/comments/767478783/reactions
2021-01-26T11:21:54Z
https://api.github.com/repos/huggingface/datasets/issues/comments/767478783
https://avatars.githubusercontent.com/u/7353373?v=4
https://api.github.com/users/thomwolf/events{/privacy}
https://api.github.com/users/thomwolf/followers
https://api.github.com/users/thomwolf/following{/other_user}
https://api.github.com/users/thomwolf/gists{/gist_id}
https://github.com/thomwolf
thomwolf
MDQ6VXNlcjczNTMzNzM=
https://api.github.com/users/thomwolf/orgs
https://api.github.com/users/thomwolf/received_events
https://api.github.com/users/thomwolf/repos
https://api.github.com/users/thomwolf/starred{/owner}{/repo}
https://api.github.com/users/thomwolf/subscriptions
User
https://api.github.com/users/thomwolf
public
MEMBER
Yes indeed.

Also it looks like Pyarrow 3.0.0 got released on pypi 10 hours ago. This might be related to the bug, I'll investigate
EDIT: looks like the 3.0.0 release doesn't have unexpected breaking changes for us, so I don't think the issue comes from that
2021-01-26T11:25:04Z
https://github.com/huggingface/datasets/issues/1781#issuecomment-767480347
https://api.github.com/repos/huggingface/datasets/issues/1781
MDEyOklzc3VlQ29tbWVudDc2NzQ4MDM0Nw==
https://api.github.com/repos/huggingface/datasets/issues/comments/767480347/reactions
2021-01-26T11:26:56Z
https://api.github.com/repos/huggingface/datasets/issues/comments/767480347
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
MEMBER
Maybe colab moved to pyarrow 0.16 by default (instead of 0.14 before)?
2021-01-26T11:28:12Z
https://github.com/huggingface/datasets/issues/1781#issuecomment-767481966
https://api.github.com/repos/huggingface/datasets/issues/1781
MDEyOklzc3VlQ29tbWVudDc2NzQ4MTk2Ng==
https://api.github.com/repos/huggingface/datasets/issues/comments/767481966/reactions
2021-01-26T11:28:12Z
https://api.github.com/repos/huggingface/datasets/issues/comments/767481966
https://avatars.githubusercontent.com/u/7353373?v=4
https://api.github.com/users/thomwolf/events{/privacy}
https://api.github.com/users/thomwolf/followers
https://api.github.com/users/thomwolf/following{/other_user}
https://api.github.com/users/thomwolf/gists{/gist_id}
https://github.com/thomwolf
thomwolf
MDQ6VXNlcjczNTMzNzM=
https://api.github.com/users/thomwolf/orgs
https://api.github.com/users/thomwolf/received_events
https://api.github.com/users/thomwolf/repos
https://api.github.com/users/thomwolf/starred{/owner}{/repo}
https://api.github.com/users/thomwolf/subscriptions
User
https://api.github.com/users/thomwolf
public
MEMBER
Installing datasets installs pyarrow>=0.17.1 so in theory it doesn't matter which version of pyarrow colab has by default (which is currently pyarrow 0.14.1).

Also now the colab runtime refresh the pyarrow version automatically after the update from pip (previously you needed to restart your runtime).

I guess what happened is that Colab didn't refresh pyarrow for some reason, and the AttributeError was raised *before* the pyarrow version check from `datasets` at https://github.com/huggingface/datasets/blob/master/src/datasets/__init__.py#L60
2021-01-26T11:32:41Z
https://github.com/huggingface/datasets/issues/1781#issuecomment-767484068
https://api.github.com/repos/huggingface/datasets/issues/1781
MDEyOklzc3VlQ29tbWVudDc2NzQ4NDA2OA==
https://api.github.com/repos/huggingface/datasets/issues/comments/767484068/reactions
2021-01-26T11:32:41Z
https://api.github.com/repos/huggingface/datasets/issues/comments/767484068
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
MEMBER
Yes colab doesn’t reload preloaded library unless you restart the instance. Maybe we should move the check on top of the init 
2021-01-26T11:37:20Z
https://github.com/huggingface/datasets/issues/1781#issuecomment-767486257
https://api.github.com/repos/huggingface/datasets/issues/1781
MDEyOklzc3VlQ29tbWVudDc2NzQ4NjI1Nw==
https://api.github.com/repos/huggingface/datasets/issues/comments/767486257/reactions
2021-01-26T11:37:20Z
https://api.github.com/repos/huggingface/datasets/issues/comments/767486257
https://avatars.githubusercontent.com/u/7353373?v=4
https://api.github.com/users/thomwolf/events{/privacy}
https://api.github.com/users/thomwolf/followers
https://api.github.com/users/thomwolf/following{/other_user}
https://api.github.com/users/thomwolf/gists{/gist_id}
https://github.com/thomwolf
thomwolf
MDQ6VXNlcjczNTMzNzM=
https://api.github.com/users/thomwolf/orgs
https://api.github.com/users/thomwolf/received_events
https://api.github.com/users/thomwolf/repos
https://api.github.com/users/thomwolf/starred{/owner}{/repo}
https://api.github.com/users/thomwolf/subscriptions
User
https://api.github.com/users/thomwolf
public
MEMBER
Yes I'll do that :)
2021-01-26T11:38:28Z
https://github.com/huggingface/datasets/issues/1781#issuecomment-767486786
https://api.github.com/repos/huggingface/datasets/issues/1781
MDEyOklzc3VlQ29tbWVudDc2NzQ4Njc4Ng==
https://api.github.com/repos/huggingface/datasets/issues/comments/767486786/reactions
2021-01-26T11:38:28Z
https://api.github.com/repos/huggingface/datasets/issues/comments/767486786
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
MEMBER
I updated the pyarrow version check in #1782
2021-01-26T11:47:36Z
https://github.com/huggingface/datasets/issues/1781#issuecomment-767490989
https://api.github.com/repos/huggingface/datasets/issues/1781
MDEyOklzc3VlQ29tbWVudDc2NzQ5MDk4OQ==
https://api.github.com/repos/huggingface/datasets/issues/comments/767490989/reactions
2021-01-26T11:47:36Z
https://api.github.com/repos/huggingface/datasets/issues/comments/767490989
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
NONE
restarting worked for me
> ```

yes it worked for me
2024-07-07T17:55:11Z
https://github.com/huggingface/datasets/issues/1781#issuecomment-2212522888
https://api.github.com/repos/huggingface/datasets/issues/1781
IC_kwDODunzps6D4GuI
https://api.github.com/repos/huggingface/datasets/issues/comments/2212522888/reactions
2024-07-07T17:55:11Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2212522888
https://avatars.githubusercontent.com/u/40498691?v=4
https://api.github.com/users/sharaijaz/events{/privacy}
https://api.github.com/users/sharaijaz/followers
https://api.github.com/users/sharaijaz/following{/other_user}
https://api.github.com/users/sharaijaz/gists{/gist_id}
https://github.com/sharaijaz
sharaijaz
MDQ6VXNlcjQwNDk4Njkx
https://api.github.com/users/sharaijaz/orgs
https://api.github.com/users/sharaijaz/received_events
https://api.github.com/users/sharaijaz/repos
https://api.github.com/users/sharaijaz/starred{/owner}{/repo}
https://api.github.com/users/sharaijaz/subscriptions
User
https://api.github.com/users/sharaijaz
public
I'm using Colab. And suddenly this morning, there is this error. Have a look below!

![screenshot-colab research google com-2021 01 26-08-15-36](https://user-images.githubusercontent.com/45964869/105799890-fdaf3b80-5fae-11eb-8f06-11b65cdccc30.png)
