通過pip install flake8安裝代碼Python代碼補全插件 報如下錯誤
WARNING: You are using pip version 20.3.1; however, version 22.0.4 is available.
You should consider upgrading via the 'c:\program files\python\python.exe -m pip install --upgrade pip' command.
翻譯:警告:您正在使用pip版本20.3.1;但是,22.0.4版是可用的。
您應該考慮通過C:\程序文件\ Python \ Python進行升級。exe-m pip install--upgrade pip'命令。
這個就是pip的版本問題,更新一下就好了
win+r 輸入cmd 然后輸入python -m pip install --upgrade pip 回車
注意打開cmd記得給予CMD管理員權限,不然執行命令會錯誤