参考链接:
Python 3 的 surrogateescape - TimothyQiu's Blog
关于Linux系统中的local、localdef和字符集的那些事_sinat_28296423的博客-CSDN博客_linux local
出现了这个错误
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
解决方案
重新执行命令,恢复正常