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
posted @ 2019-09-17 17:25  雪山飞猪  阅读(5476)  评论(0编辑  收藏  举报