Conda - unable to completely delete environment
Solution 1:
Command-line options can only go so far, unless you get very specific; perhaps the simplest approach is to delete things manually:
- Locate Anaconda folder; I'll use
"D:\Anaconda\"
- In
envs
, delete environment of interest:"D:\Anaconda\envs\myenv"
Are you done? Not quite; even while in myenv
, conda will still sometimes install packages to the base environment, in "D:\Anaconda\pkgs\"
; thus, to clean traces of myenv
,
Delete packages installed to
myenv
that ended up in"D:\Anaconda\pkgs\"
(If above don't suffice) Anaconda Navigator -> Environments -> myenv -> Remove
- (If above don't suffice) Likely corrupted Anaconda; make note of installed packages, completely uninstall Anaconda, reinstall.
Note: step 3 is redundant for the goal of simply removing myenv
, but it's recommended to minimize future package conflicts.