问题
Linux上执行命令时,报出Failed to set locale, defaulting to C
错误,是由于没有设置正确的语言环境。
解决方案
echo "export LC_ALL=en_US.UTF-8" >> /etc/profile
source /etc/profile
Linux上执行命令时,报出Failed to set locale, defaulting to C
错误,是由于没有设置正确的语言环境。
echo "export LC_ALL=en_US.UTF-8" >> /etc/profile
source /etc/profile