|
发表于 2023-2-4 03:44:54
|
显示全部楼层
非簡體系統 會因編碼報錯
樓主又封裝了pyd不讓修改
Traceback (most recent call last):227][0.8136]
File "mainscripts\Trainer.py", line 215, in mainscripts.Trainer.trainerThread
File "mainscripts\Trainer.py", line 73, in mainscripts.Trainer.trainerThread.model_save
File "models\ModelBase.py", line 462, in models.ModelBase.ModelBase.save
File "D:\DF_ICE1.2b\_internal\python-3.8.5\lib\pathlib.py", line 1256, in write_text
return f.write(data)
UnicodeEncodeError: 'cp950' codec can't encode character '\u79f0' in position 128: illegal multibyte sequence
程序已结束,可以关闭窗口。 |
|