import sysreload(sys)sys.setdefaultencoding("utf-8") 转载于:https://www.cnblogs.com/themost/p/7510967.html