text pip / apt-get install时出现语言环境问题

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text pip / apt-get install时出现语言环境问题相关的知识,希望对你有一定的参考价值。

// 1st method
export LC_ALL=C

// 2nd Method
export LC_ALL="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
sudo dpkg-reconfigure locales
It will solve this.
Make sure to match the .UTF-8 part to the actual syntax found in the output of locale -a e.g. .utf8 on some systems.

以上是关于text pip / apt-get install时出现语言环境问题的主要内容,如果未能解决你的问题,请参考以下文章