pycharm升级pip报错:AttributeError: 'NoneType' object has no attribute 'bytes'

pycharm中使用pip升级命令后, settings中是新版本,但在控制台使用,就提示新版本无法使用,一直提示旧版本在使用中,报错

AttributeError: 'NoneType' object has no attribute 'bytes'

pip升级命令

python -m pip install --upgrade pip

网上查找大多无法解决,偶然看到一个新命令,使用后解决

easy_install -U pip

使用此命令可以解决新版升级无法使用问题

参考文章:https://blog.csdn.net/diaoling1990/article/details/84594192

猜你喜欢

转载自blog.csdn.net/qq_43146036/article/details/85257826
今日推荐