python3报'ascii' codec can't encode characters in position 0-7: ordinal not in range(128)解决方法

运行前指定export PYTHONIOENCODING为utf-8

export PYTHONIOENCODING=utf-8; python main.;y
原文地址:https://www.cnblogs.com/chenqionghe/p/11535577.html