pip 快取 ¶
用法 ¶
python -m pip cache dir
python -m pip cache info
python -m pip cache list [<pattern>] [--format=[human, abspath]]
python -m pip cache remove <pattern>
python -m pip cache purge
py -m pip cache dir
py -m pip cache info
py -m pip cache list [<pattern>] [--format=[human, abspath]]
py -m pip cache remove <pattern>
py -m pip cache purge
說明 ¶
檢查和管理 pip 的輪子快取。
子指令
dir:顯示快取目錄。
info:顯示快取資訊。
list:列出儲存在快取中的套件檔名。
remove:從快取中移除一個或多個套件。
purge:從快取中移除所有項目。
<pattern> 可以是全域表達式或套件名稱。
選項 ¶
- --format <list_format>¶
從下述選項選擇輸出品格式: human(預設)或 abspath
(環境變數:
PIP_FORMAT)