Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodeDecodeError: 'gbk' codec can't decode byte 0x8c in position 2088: illegal multibyte sequence #2689

Closed
stuyun opened this issue Nov 26, 2022 · 5 comments · Fixed by #2865

Comments

@stuyun
Copy link

stuyun commented Nov 26, 2022

image

@stuyun
Copy link
Author

stuyun commented Nov 26, 2022

处理了 修改编码
image

image

@yt605155624
Copy link
Collaborator

感兴趣可以提个 pr

@bbqkj
Copy link

bbqkj commented Feb 1, 2023

666 也没报错路径 这能找出来 得熟读源码啊

@yfqvip
Copy link

yfqvip commented Apr 13, 2023

set PYTHONUTF8=1
可解决

@Darksiderlyd
Copy link

Traceback (most recent call last):
File "D:\lvyaodong\python3\lib\runpy.py", line 196, in run_module_as_main
exec(code, run_globals)
File "D:\aiworkspace\PaddleSpeech.venv\Scripts\paddlespeech.exe_main
.py", line 7, in
sys.exit(execute())
File "D:\aiworkspace\PaddleSpeech.venv\lib\site-packages\paddlespeech\cli\entry.py", line 40, in execute
exec("from {} import {}".format(module, cls))
File "", line 1, in
File "D:\aiworkspace\PaddleSpeech.venv\lib\site-packages\paddlespeech\cli\tts_init
.py", line 14, in
from .infer import TTSExecutor
File "D:\aiworkspace\PaddleSpeech.venv\lib\site-packages\paddlespeech\cli\tts\infer.py", line 33, in
from paddlespeech.t2s.exps.syn_utils import get_am_inference
File "D:\aiworkspace\PaddleSpeech.venv\lib\site-packages\paddlespeech\t2s\exps\syn_utils.py", line 36, in
from paddlespeech.t2s.frontend.canton_frontend import CantonFrontend
File "D:\aiworkspace\PaddleSpeech.venv\lib\site-packages\paddlespeech\t2s\frontend\canton_frontend.py", line 19, in
import ToJyutping
File "D:\aiworkspace\PaddleSpeech.venv\lib\site-packages\ToJyutping_init
.py", line 3, in
from .ToJyutping import *
File "D:\aiworkspace\PaddleSpeech.venv\lib\site-packages\ToJyutping\ToJyutping.py", line 9, in
for line in f:
UnicodeDecodeError: 'gbk' codec can't decode byte 0x96 in position 2: illegal multibyte sequence

我也遇到问题了 develop分支

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants