美文网首页
perl: warning: Setting locale fa

perl: warning: Setting locale fa

作者: Fantast_d2be | 来源:发表于2020-04-02 21:59 被阅读0次

Ubuntu 16.04 安装软件提示:

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

原因:系统没有安装zh_CN.UTF-8语言环境,脚本中在设置该变量时出现异常

解决

sudo apt install language-pack-zh-hans

相关文章

网友评论

      本文标题:perl: warning: Setting locale fa

      本文链接:https://www.haomeiwen.com/subject/iazfphtx.html