在终端里输入
$ export LC_ALL=C
可解决
http://stackoverflow.com/questions/36394101/pip-install-locale-error-unsupported-locale-setting