解决方法:

import sys 
reload(sys) 
sys.setdefaultencoding('utf-8')

代码开头加入如上内容,即可!

Last modification:January 10th, 2019 at 06:03 pm
If you think my article is useful to you, please feel free to appreciate