我最近看到 --no-cache-dir
在 Docker 文件中使用。我以前从未见过那个标志,帮助也没有解释它:
--no-cache-dir Disable the cache.
最佳答案
.whl
等) .tar.gz
等)以避免未过期时重新下载 pip install
和 意外的 设置export PYCURL_SSL_LIBRARY=nss
和 pip install pycurl
export PYCURL_SSL_LIBRARY=openssl
和 pip install pycurl --compile --no-cache-dir
文档链接
https://pip.pypa.io/en/stable/reference/pip_install/#caching – @emredjan
https://pip.pypa.io/en/stable/reference/pip_install/ - @mikea
关于python - pip 的 `--no-cache-dir` 有什么用?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/45594707/