locale.Error: unsupported locale setting错误

locale.Error: unsupported locale setting错误

搬运自stackoverflow

错误信息

解决方式

export LC_ALL="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
sudo dpkg-reconfigure locales

成果

image

image

你可能感兴趣的:(locale.Error: unsupported locale setting错误)