解决 pip attributeerror 'nonetype' object has no attribute 'bytes'

for Windows :

python -m pip install -U pip

for Linux :

pip install -U pip
原文地址:https://www.cnblogs.com/alfredsun/p/9447259.html