Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodeDecodeError: windows 10 machine #1917

Closed
yosiasz opened this issue Feb 19, 2021 · 1 comment
Closed

UnicodeDecodeError: windows 10 machine #1917

yosiasz opened this issue Feb 19, 2021 · 1 comment

Comments

@yosiasz
Copy link

yosiasz commented Feb 19, 2021

Windows 10
Php 3.6.8

when running

import datasets

oscar_am = datasets.load_dataset("oscar", "unshuffled_deduplicated_am")
print(oscar_am["train"][0])

I get the following error

file "C:\PYTHON\3.6.8\lib\encodings\cp1252.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 58: character maps to <undefined>
@yosiasz
Copy link
Author

yosiasz commented Feb 19, 2021

upgraded to php 3.9.2 and it works!

@yosiasz yosiasz closed this as completed Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant