Import error
MEMBER
Hi ! Can you 
```python
import platform
print(platform.python_version())
```
to see that it returns ?
2022-11-22T13:36:52Z
https://github.com/huggingface/datasets/issues/5280#issuecomment-1323691385
https://api.github.com/repos/huggingface/datasets/issues/5280
IC_kwDODunzps5O5e15
https://api.github.com/repos/huggingface/datasets/issues/comments/1323691385/reactions
2022-11-22T13:36:52Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1323691385
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
Hi,

3.8.13

Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: Quentin Lhoest ***@***.***>
Sent: Tuesday, November 22, 2022 2:37:02 PM
To: huggingface/datasets ***@***.***>
Cc: feketedavid1012 ***@***.***>; Author ***@***.***>
Subject: Re: [huggingface/datasets] Import error (Issue #5280)


Hi ! Can you

import platform
print(platform.python_version())

to see that it returns ?

—
Reply to this email directly, view it on GitHub<https://github.com/huggingface/datasets/issues/5280#issuecomment-1323691385>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJW7F5YGG32W6WABYC25NJTWJTD75ANCNFSM6AAAAAASHZJ2AU>.
You are receiving this because you authored the thread.Message ID: ***@***.***>

2022-11-22T13:38:28Z
https://github.com/huggingface/datasets/issues/5280#issuecomment-1323693289
https://api.github.com/repos/huggingface/datasets/issues/5280
IC_kwDODunzps5O5fTp
https://api.github.com/repos/huggingface/datasets/issues/comments/1323693289/reactions
2022-11-22T13:38:28Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1323693289
https://avatars.githubusercontent.com/u/40760055?v=4
https://api.github.com/users/feketedavid1012/events{/privacy}
https://api.github.com/users/feketedavid1012/followers
https://api.github.com/users/feketedavid1012/following{/other_user}
https://api.github.com/users/feketedavid1012/gists{/gist_id}
https://github.com/feketedavid1012
feketedavid1012
MDQ6VXNlcjQwNzYwMDU1
https://api.github.com/users/feketedavid1012/orgs
https://api.github.com/users/feketedavid1012/received_events
https://api.github.com/users/feketedavid1012/repos
https://api.github.com/users/feketedavid1012/starred{/owner}{/repo}
https://api.github.com/users/feketedavid1012/subscriptions
User
https://api.github.com/users/feketedavid1012
public
MEMBER
Then it should work as expected if you use the same python when using `datasets`

Please make sure you're running your code in the right environment
2022-11-22T13:41:33Z
https://github.com/huggingface/datasets/issues/5280#issuecomment-1323697094
https://api.github.com/repos/huggingface/datasets/issues/5280
IC_kwDODunzps5O5gPG
https://api.github.com/repos/huggingface/datasets/issues/comments/1323697094/reactions
2022-11-22T13:41:33Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1323697094
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
It's the right environment. But in if statement I have
"3.8.13" < 3.7
And in the error message is Python>=3.7 which is true in my case (3.8.13 is greater then 3.7), so I don't understand my python should be below the 3.7 which case the if statement is right, but the message is wrong, or above 3.7 which case if statement is wrong, error message is right.

Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: Quentin Lhoest ***@***.***>
Sent: Tuesday, November 22, 2022 2:41:43 PM
To: huggingface/datasets ***@***.***>
Cc: feketedavid1012 ***@***.***>; Author ***@***.***>
Subject: Re: [huggingface/datasets] Import error (Issue #5280)


Then it should work as expected if you use the same python when using datasets

Please make sure you're running your code in the right environment

—
Reply to this email directly, view it on GitHub<https://github.com/huggingface/datasets/issues/5280#issuecomment-1323697094>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJW7F54JURTAJJWWDO2QGI3WJTERPANCNFSM6AAAAAASHZJ2AU>.
You are receiving this because you authored the thread.Message ID: ***@***.***>

2022-11-22T13:46:12Z
https://github.com/huggingface/datasets/issues/5280#issuecomment-1323703199
https://api.github.com/repos/huggingface/datasets/issues/5280
IC_kwDODunzps5O5huf
https://api.github.com/repos/huggingface/datasets/issues/comments/1323703199/reactions
2022-11-22T13:46:12Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1323703199
https://avatars.githubusercontent.com/u/40760055?v=4
https://api.github.com/users/feketedavid1012/events{/privacy}
https://api.github.com/users/feketedavid1012/followers
https://api.github.com/users/feketedavid1012/following{/other_user}
https://api.github.com/users/feketedavid1012/gists{/gist_id}
https://github.com/feketedavid1012
feketedavid1012
MDQ6VXNlcjQwNzYwMDU1
https://api.github.com/users/feketedavid1012/orgs
https://api.github.com/users/feketedavid1012/received_events
https://api.github.com/users/feketedavid1012/repos
https://api.github.com/users/feketedavid1012/starred{/owner}{/repo}
https://api.github.com/users/feketedavid1012/subscriptions
User
https://api.github.com/users/feketedavid1012
public
MEMBER
If you're having an error then you're not running your code in the right environment.
2022-11-22T13:57:49Z
https://github.com/huggingface/datasets/issues/5280#issuecomment-1323719580
https://api.github.com/repos/huggingface/datasets/issues/5280
IC_kwDODunzps5O5luc
https://api.github.com/repos/huggingface/datasets/issues/comments/1323719580/reactions
2022-11-22T13:57:49Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1323719580
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
https://github.com/huggingface/datasets/blob/cd3d8e637cfab62d352a3f4e5e60e96597b5f0e9/src/datasets/__init__.py#L28

Hy, 
I have error at the above line. I have python version 3.8.13, the message says I need python>=3.7, which is True, but I think the if statement not working properly (or the message wrong)