问题描述:

使用指令 python -m pip install --upgrade pip 升级pip时,Pycharm报错:AttributeError: ‘NoneType’ object has no attribute ‘bytes’
如图:
Pycharm报错:'NoneType' object has no attribute 'bytes'

解决方案:

输入指令:easy_install -U pip
如图:
Pycharm报错:'NoneType' object has no attribute 'bytes'

相关文章: