pip升级报错AttributeError: 'NoneType' object has no attribute 'bytes' 如果使用python -m pip install --upgrade pip命令升级pip出错, 可以使用如下命令: easy_install -U pip