Linux remoto informa que hay un problema con la configuración local

Registro relacionado

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/locale.py", line 531, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = (unset)
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

Método de
modificación : modificar ~ / .bash_profile, agregar el siguiente contenido

export LC_ALL="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"

Supongo que te gusta

Origin blog.csdn.net/yao_zhuang/article/details/107993426
Recomendado
Clasificación