問題描述:
使用指令 python -m pip install --upgrade pip 升級pip時,Pycharm報錯:AttributeError: ‘NoneType’ object has no attribute ‘bytes’
如圖:
解決方案:
輸入指令:easy_install -U pip
如圖:
使用指令 python -m pip install --upgrade pip 升級pip時,Pycharm報錯:AttributeError: ‘NoneType’ object has no attribute ‘bytes’
如圖:
輸入指令:easy_install -U pip
如圖:
1.while循環的格式 while 條件: 條件滿足時,做的事情1 條件滿足時,做的事情2 條件滿足時,做的事情3 ...(省略)... demo