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

Опубликовано: 05 Август 2019
на канале: Jarad Python
4,601
22

You go to upgrade pip in Python and you get the AttributeError: AttributeError: 'NoneType' object has no attribute 'bytes'

The solution can be found on GitHub. The answer is to paste this:

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

Helpful links
- https://github.com/pypa/pip/issues/5820