For our Python users, it’s really common for pip to install various software. You must encounter various upgrade errors. Make some records here for reference in the future
AttributeError: ‘NoneType’ object has no attribute ‘bytes’
Normal PIP upgrade command:
python -m pip install –upgrade pip
There was no problem before, but I reported an error today
AttributeError: ‘NoneType’ object has no attribute ‘bytes’
Effective solutions are:
easy_install -U pip