Mac pipenv install 报错 ValueError: unknown locale: UTF-8

环境

  • MacOS Sierra
  • Python 3.6

安装参照使用pipenv管理你的项目

解决方案

~/.bash_profile里加上下面两行

export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

参考ValueError: unknown locale: UTF-8

posted @ 2018-06-27 10:33  Joseph_Chuh  阅读(1144)  评论(0编辑  收藏  举报