0

I've tried to remove packages using conda uninstall. The command runs for a long time, takes up a large amount of memory (but doesn't run out I believe) and then quits with no indication of having completed the 'Solving environment' step. When I check, the package is still there. For example:

(base) pm@pm:~/Software/anaconda3/bin$ conda uninstall -n base pytorch
Collecting package metadata (repodata.json): done
Solving environment: - (base) pm@pm:~/Software/anaconda3/bin$ conda list -n base -f pytorch
# packages in environment at /home/pm/Software/anaconda3:
#
# Name                    Version                   Build  Channel
pytorch                   1.7.1           py3.7_cuda10.1.243_cudnn7.6.3_0    pytorch

I've also tried remove, which does exactly the same thing. Suggestions welcome!

FlyingTeller
  • 13,811
  • 2
  • 31
  • 45
JasonK
  • 111
  • 4
  • I just carefully tracked memory usage during the 15 or so minutes that 'conda uninstall' runs. At first memory decreases slowly, but toward the end, it's using up a gigabyte of memory every few seconds. I started with 14.5GB available and, before conda uninstall suddenly quits, I had 360MB left. So it looks like an out of memory error. I guess the question is whether I will have to reinstall anaconda or if there are other things I can try first. – JasonK Mar 03 '22 at 17:32
  • Conda, by the way, is working fine with the exception of uninstall. I can install new packages, clean, update existing (including conda and anaconda). But I've tried to uninstall three packages and it just quits evidently because it is out of memory. – JasonK Mar 03 '22 at 18:21
  • I just wiped Anaconda off my system with instructions from the link below. Fortunately, I didn't have a lot of specialized environments. https://stackoverflow.com/questions/42182706/how-to-uninstall-anaconda-completely-from-macos/42182997#42182997 – JasonK Mar 03 '22 at 22:33

0 Answers0