Pycharm报错:'NoneType' object has no attribute 'bytes'

问题描述:

使用指令 python -m pip install --upgrade pip 升级pip时,Pycharm报错:AttributeError: ‘NoneType’ object has no attribute ‘bytes’
如图:
在这里插入图片描述

解决方案:

输入指令:easy_install -U pip
如图:
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/Nire_Yeyu/article/details/104679483
今日推荐