MineDojo / Voyager

An Open-Ended Embodied Agent with Large Language Models
https://voyager.minedojo.org/
MIT License
5.36k stars 492 forks source link

UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 1524: illegal multibyte sequence #81

Closed AppStudioLB closed 1 year ago

AppStudioLB commented 1 year ago

PS F:\AI Project\Voyager> pip install -e . Obtaining file:///F:/AI%20Project/Voyager Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [10 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "F:\AI Project\Voyager\setup.py", line 38, in long_description=_read_file("README.md"), ^^^^^^^^^^^^^^^^^^^^^^^ File "F:\AI Project\Voyager\setup.py", line 16, in _read_file return fp.read() ^^^^^^^^^ UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 1524: illegal multibyte sequence [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.


How can I fix pip installation error? Is it the problem of utf?

xieleo5 commented 1 year ago

Hi, can you try to pull the latest version? Someone fix the pip install problem in pull request #80

AppStudioLB commented 1 year ago

Yes, it works. Thank You