windows下使用pip,py3.7版本
py -m pip install psutil
centos 原生python 安装pip
yum install python-devel
yum install python-pip
- UnicodeDecodeError: 'ascii' codec can't decode byte
import sys
reload(sys)
sys.setdefaultencoding("utf-8")
windows下使用pip,py3.7版本
py -m pip install psutil
centos 原生python 安装pip
yum install python-devel
yum install python-pip
import sys
reload(sys)
sys.setdefaultencoding("utf-8")