Python 3.5 pip 9 AttributeError: 'NoneType' object has no attribute 'bytes'

隐身守侯 提交于 2019-12-05 08:00:21

Try using easy_install -U pip, according to this bug report.

Edit: Okay, go to "https://pypi.org/simple/pip/", and download the latest .whl file (scroll to the bottom). When you have it, open cmd in the same folder (by clicking File -> open powershell/cmd in the file explorer), and type

pip install filename, with filename being the name of the file you downloaded (Should be pip-18.0-py2.py3-none-any.whl).

Try that and tell me if it works.

You can try this following:

python -m pip install -U --force-reinstall pip
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!