创建~/.pip/pip.conf, 增加如下语句
[global]
download_cache = ~/.cache/pip
或者直接执行下述语句.
printf '[global]\ndownload_cache = ~/.cache/pip\n' >> ~/.pip/pip.conf
创建~/.pip/pip.conf, 增加如下语句
[global]
download_cache = ~/.cache/pip
或者直接执行下述语句.
printf '[global]\ndownload_cache = ~/.cache/pip\n' >> ~/.pip/pip.conf