中国 · 南京 · 栖霞区紫东路2号紫东国际创意园B3-2幢5F
+86-18994094214 (仅工作日:8:30~17:30)
contact@oakchina.cn

【65】LookupError: unknown encoding: locale

View Categories

【65】LookupError: unknown encoding: locale

< 1 min read

报错提示:

校准时出现以下报错

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 试试。