UnicodeEncodeError: ‘ascii’ codec can’t encode characters in position 0-15: ordinal not in range(128)
以上报错解决办法:
添加:
import sys
reload(sys)
sys.setdefaultencoding(‘utf8’)
UnicodeEncodeError: ‘ascii’ codec can’t encode characters in position 0-15: ordinal not in range(128)
以上报错解决办法:
添加:
import sys
reload(sys)
sys.setdefaultencoding(‘utf8’)
转载于:https://my.oschina.net/passer007/blog/614720