Skip to content

UnicodeDecodeError when install from source. #772

@ChiahungTai

Description

@ChiahungTai

🐛 Bug Description

Run python setup.py install in source code repo might cause unicode decode error in some Windows language(ex. Big5)
Error message.
UnicodeDecodeError: 'cp950' codec can't decode byte 0xe9 in position 3935: illegal multibyte sequence

To Reproduce

Steps to reproduce the behavior:

  1. Install from source in a Big5 Windows OS.

Expected Behavior

No error message

Screenshot

image

Environment

Note: User could run cd scripts && python collect_info.py all under project directory to get system information
and paste them here directly.

  • Qlib version: 0.8.0.99
  • Python version: 3.8
  • OS (Windows, Linux, MacOS): Windows
  • Commit number (optional, please provide it if you are using the dev version):
    ef16171

Additional Notes

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions