Can i delete package cache

broken image
broken image

pip cache remove matplotlib selectively removes files related to a matplotlib from the cache.pip cache purge removes all the wheel files in the cache.Since pip 20.1, pip has a pip cache command to manage the contents of pip's cache. Since pip 10.0 (back in 2018!), a pip config command was added, which can be used to configure pip to always ignore the cache - pip config set global.cache-dir false configures pip to not use the cache 'globally' (i.e. Since pip 6.0 (back in 2014!), pip install, pip download and pip wheel commands can be told to avoid using the cache with the -no-cache-dir option. The specific issue of 'installing the wrong version due to caching' issue mentioned in the question was fixed in pip 1.4 (back in 2013!):įix a number of issues related to cleaning up and not reusing build directories.