+86-13951940532
contact@oakchina.cn

【65】LookupError: unknown encoding: locale

【65】LookupError: unknown encoding: locale

报错提示:

校准时出现以下报错

Traceback (most recent call last):
File "calibrate.py", line 1425,in <module>
Main() .run()
File "calibrate.py", line 538,in __init_.
with open(board_path, encoding="ocale") as fp:
LookupError: unknown encoding: locale

解决方法:

可以将 locale 改为 utf8 试试。