Article Directory
1. Problem
As shown in the figure:
2. Solve
2.1 Step1
Use conda
to clean up:conda clean -p
1.
conda clean -p
This command will check which packages are not hardly dependent on other places in the package cache, and delete them.
2. Theconda clean
command is to search all packages under anaconda without entering other environments to repeat operations.
Seeing the results of the inspection almost suffocated: enough 7.55g
cache! !
Extreme fear deleted things that should not be deleted, and insurance purposes, or to confirm Quguan network conda clean
usage:
Two complete reminders are not shown:
- -p:
Remove unused packages from writable package caches. WARNING: This does not check for packages installed using symlinks back to the package cache.
- -f:
Remove all writable package caches. This option is not included with the –all flag. WARNING: This will break environments with packages installed using symlinks back to the package cache.
There is -p
no problem to use , just execute it directly.
The situation after the final cleanup:18.5g ——>9.8g
2.2 Step2
The cached packages that have just been cleaned up, now continue to clean up the cached compressed package files, the code is as follows:conda clean -t
There check out 2.65g
the archive cache:
Just enter y
it and execute it directly.
At this point, it's over!
reference: