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

你可能感兴趣的:(python3报'ascii' codec can't encode characters in position 0-7: ordinal not in range(128)解决方法)