编码问题 UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 1: ordinal not in range(128)
转载自cnblog
Unicode的编码问题,读取文件时使用的编码默认是ascii而不是utf8,所以报错
在代码中加上几句即可:
import sys
reload(sys)
sys.setdefaultencoding('utf8')
安装 psutil SystemExit: error: command 'gcc' failed with exit status 1
OS: CentOS Linux release 8.0.1905 (Core)
Python: 3.6
Clues:SystemExit: error: command 'gcc' failed with exit status 1
Problem solved.
ym install -y gcc gcc-c++ libgcc platform-python-devel
giithub issue