Pip - Change directory of pip cache on Linux?
I heard changing XDG_CACHE_DIR or XDG_DATA_HOME fixes that but I did export XDG_CACHE_DIR=<new path> export XDG_DATA_HOME=<new path> I've also tried pip cache dir --cache-dir <new path> and pip cache --cache-dir <new path> and --cache-dir <new path> and python --cache-dir <new path> from https://pip.pypa.io/en/stable/refer