install python package 嘅command

係vscode documentation 佢就咁寫
# Windows (may require elevation)
python -m pip install matplotlib   


同我咁寫 pip install matplotlib   

有咩分別?

有人沒安裝pip到path 的話就要用 python -m pip install anypackage

TOP

不過正正常常安裝python 應該default python & pip 會on global / system path

TOP