学无先后,达者为师

网站首页 编程语言 正文

Pycharm报错:'NoneType' object has no attribute 'bytes'的解决方法_python

作者:Nire_谒羽   更新时间: 2022-04-25 编程语言

问题描述:

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

解决方案:

输入指令:easy_install -U pip

如图:

附降级命令:

python -m pip install --upgrade pip==9.0.3

总结 

原文链接:https://blog.csdn.net/Nire_Yeyu/article/details/104679483

栏目分类
最近更新