1,Python使用命令:python -m pip install --upgrade pip升級pip的時候報了下面這個錯
?
2,換了個命令:
python -m pip install --upgrade pip -i https://pypi.douban.com/simple
更新成功了,但又報了一個新的錯誤:
AttributeError: ‘NoneType’ object has no attribute ‘bytes’
?
?
3,輸入命令:easy_install -U pip升級pip運行成功,再輸入更新命令沒有報錯了
(‘easy_install -U 包名’ python老版本中下載更新包命令)
?