python输出时报错但又能成功输出

引入了jieba库,进行词频统计,之后写入新文件,输出时显示红字the dict has been built successfully,但文件内容正常写入了,仔细检查没发现什么错误,是哪里出了问题吗?

the dict has been built successfully
这个并不是报错,是输出的日志提示。

he dict has been built successfully,是正常提示,没什么问题。