在pycharm里面用安装pip安装别的包时,提示:

AttributeError: 'NoneType' object has no attribute 'bytes'(升级pip)

按照提示进行安装,但是报错:

AttributeError: 'NoneType' object has no attribute 'bytes'(升级pip)

AttributeError: 'NoneType' object has no attribute 'bytes'(升级pip)

 

解决:

python -m pip install -U --force-reinstall pip

AttributeError: 'NoneType' object has no attribute 'bytes'(升级pip)

看一下现在的pip版本:

AttributeError: 'NoneType' object has no attribute 'bytes'(升级pip)

已经是最新版本了。

✌( •̀ ω •́ )耶!

相关文章:

  • 2021-06-13
  • 2022-01-08
  • 2021-11-20
  • 2021-07-31
  • 2022-01-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-12
  • 2022-12-23
  • 2022-12-23
  • 2021-09-30
  • 2021-05-05
  • 2021-07-25
相关资源
相似解决方案