zhuminghui

  在 Linux 上执行命令时,出现报错:Failed to set locale, defaulting to C

报错原因

  没有设置正确的语言环境。

 

解决方法

echo "export LC_ALL=en_US.UTF-8"  >>  /etc/profile 
source /etc/profile

 

分类:

技术点:

相关文章:

  • 2021-09-27
  • 2021-09-04
  • 2021-11-18
  • 2021-05-13
  • 2021-10-28
  • 2021-12-06
  • 2021-08-18
  • 2021-05-30
猜你喜欢
  • 2021-08-07
  • 2021-06-25
  • 2021-06-20
  • 2022-01-21
  • 2021-11-25
  • 2021-07-09
  • 2021-08-08
相关资源
相似解决方案