Mac OS X and python 「ValueError: unknown locale: UTF-8」

On Mac OS X, to solve the Python error 「ValueError: unknown locale: UTF-8「:bash

Add some lines to your ~/.bash_profile then re-start bash (or re-login):code

export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
相關文章
相關標籤/搜索