修复ubuntu下的一个报错

  • 2016-09-28
  • 0
  • 1

pyenv下安装新版python的时候出现的

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

修复方法:

sudo locale-gen en_US en_US.UTF-8
sudo dpkg-reconfigure locales

上一篇:    下一篇:

me@ccc5.cc - 衫小寨