attributeerror 'nonetype' object has no attribute 'bytes' pip upgrade code example Example: upgrade pip python -m pip install --upgrade pip