instadeepai / jumanji

🕹️ A diverse suite of scalable reinforcement learning environments in JAX
https://instadeepai.github.io/jumanji
Apache License 2.0
607 stars 77 forks source link

bug:UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 3836: character maps to <undefined> #219

Closed phate09 closed 4 hours ago

phate09 commented 9 months ago

Description

" Hi, I tried to install jumanji on Windows but it didnt work. To me it looks like the package is broken. Maybe you know someone who can fix this? UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 3836: character maps to "

"so I figured it out. The problem is in the setup.py. The error occurs because the encoding is not set explicitly. "

image

When I adjust the line to "long_description=open("README.md", encoding ="utf-8").read()," it works

What Jumanji version are you using?

No response

Which accelerator(s) are you using?

No response

Additional System Info

No response

Additional Context

No response

(Optional) Suggestion

I suggest changing the line to include the encoding: long_description=open("README.md", encoding ="utf-8").read(),