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!
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: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!