解决 pip attributeerror 'nonetype' object has no attribute 'bytes' for Windows : python -m pip install -U pip for Linux : pip install -U pip