I\'ve recently seen the --no-cache-dir
being used in a Docker file. I\'ve never seen that flag before and the help is not explaining it:
--no-cache
.whl
, etc) of the modules that you install through pip.tar.gz
, etc) to avoid re-download when not expiredpip install
with unexpected settings
export PYCURL_SSL_LIBRARY=nss
and pip install pycurl
export PYCURL_SSL_LIBRARY=openssl
and pip install pycurl --compile --no-cache-dir
Links to documentation
https://pip.pypa.io/en/stable/reference/pip_install/#caching – @emredjan https://pip.pypa.io/en/stable/reference/pip_install/ - @mikea