Skip to content

常见错误

Vega edited this page Sep 22, 2021 · 2 revisions

1. 在win10默认情况下系统编码格式为gbk,在运行demo_toolbox.py时会报错:

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc2 in position 6: invalid continuation byte

运行python -m sounddevice会报相同的错误

按照上述步骤更改系统编码格式后重启,再次运行python -m sounddevice就没报错了 再次运行demo_toolbox.py就能正常打开

Clone this wiki locally