python3 不能正常使用中文
UnicodeEncodeError: 'ascii' codec can't encode characters in position 19-23: ordinal not in range(128)
接着发现locale没设置
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "",
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
解决
apt-get install locales
dpkg-reconfigure locales
locale