Closed neolone closed 6 years ago
anago/units.py line 64 with open(filename) as f: --> with open(filename, 'r', encoding='utf-8') as f:
else will get error
Hi @neolone Thanks to let me know the problem.
Could you tell me the following information?
Thanks~
On Thu, Jun 28, 2018 at 5:07 PM, Hiroki Nakayama notifications@github.com wrote:
Hi @neolone https://github.com/neolone Thanks to let me know the problem.
Could you tell me the following information?
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
- TensorFlow/Keras version:
- Python version:
- anaGo version:
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Hironsan/anago/issues/73#issuecomment-400966506, or mute the thread https://github.com/notifications/unsubscribe-auth/AGEGO7m91txVF1XHIPzFNinkP3psXf5Oks5uBJy1gaJpZM4U5QCQ .
Solved.
setup.py line: 20 long_description = open(os.path.join(here, 'README.md')).read() --> long_description = open(os.path.join(here, 'README.md'), 'r', encoding='utf-8').read()
else will get error: UnicodeDecodeError: 'gbk' codec can't decode byte 0x93 in position 3100: illegal multibyte sequence