Joseph Chu's Blog

积极勤奋,主动勇敢


  • Home

  • Archives

  • Tags

  • Categories

  • About

  • Search

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

Posted on 2019-05-14 | In Mac

环境

  • MacOS Sierra
  • Python 3.6

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

解决方案

在~/.bash_profile里加上下面两行

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

参考ValueError: unknown locale: UTF-8

[Python] 关于GIL-Python‘s hardest problem阅读笔记
[Python] python -m 和 python 直接运行的区别
  • Table of Contents
  • Overview

Joseph Chu

一日之功很有限,不过可以积少成多
72 posts
17 categories
50 tags
  1. 1. 环境
  2. 2. 解决方案
© 2019 Joseph Chu
Powered by Hexo v3.6.0
|
Theme – NexT.Pisces v7.0.1