参考链接:

Python3报错处理:UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128) - 诸子流 - 博客园

Python 3 的 surrogateescape - TimothyQiu's Blog

Environment Variables

关于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

解决方案

 重新执行命令,恢复正常

 

Logo

鸿蒙生态一站式服务平台。

更多推荐