python -m pip install --upgrade pip
更新时如果报错'NoneType' object has no attribute 'bytes',
解决办法:easy_install -U pip