jacksonllee / pycantonese

Cantonese Linguistics and NLP
https://pycantonese.org
MIT License
354 stars 38 forks source link

UnicodeDecodeError on Windows #21

Closed jacksonllee closed 3 years ago

jacksonllee commented 3 years ago

If you're on Windows, you may hit UnicodeDecodeError when importing pycantonese. The problem has been resolved at the GitHub source code, and I've made a pre-release to PyPI. So for now the workaround is to use this pre-release version and the problem should go away:

$ pip install --pre --upgrade pycantonese

I'll keep this issue open in case anyone runs into it and finds the GitHub bug tracker here. Going to close it once I make an actual release on PyPI. Thanks, everyone!

jacksonllee commented 3 years ago

Closing this issue now, as v3.1.0 has just been released with the fix --

Thanks, everyone!