while using my pipenv virtual environment, I found a huge folder full of cache, I want to know:
Route: home/cache/pipenv
While simply deleting the Cache subfolder works fine, using pipenv lock --clear
deletes the cache for your current project only. If you properly want to get rid of all the somewhen collected data, use
pipenv --clear
instead. You'll see Clearing caches ...
and the cache folder disappears. According to the documentation it is usually in one of the following locations:
~/Library/Caches/pipenv (macOS)
%LOCALAPPDATA%\pipenv\pipenv\Cache (Windows)
~/.cache/pipenv (other operating systems)
Caches are meant to be temporary so you can always clear them. With pipenv you can call pipenv lock --clear
, or maybe the dirtier way by just deleting the folder. Seems like a lot of people have this issue with bloated pipenv caches. The downside to clearing the cache is that it will take longer for pipenv to download or install packages because it cannot quickly search for previously used versions in the cache folder.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With