zsh: command not found: anaconda-clean but condo install worked
Asked Answered
E

1

8

so I tried to do a clean uninstall of anaconda from my MacBook Air m1. I have followed this steps on the official site(Option B): https://docs.anaconda.com/anaconda/install/uninstall/

The first command worked "conda install anaconda-clean"

The second didn't "anaconda-clean --yes"

Output: zsh: command not found: anaconda-clean

Same when trying "anaconda-clean"

Why doesn't it work? I didn't change directory and successfully installed the anaconda-clean package. How to solve it?

thanks

Ecumenicity answered 25/6, 2022 at 18:2 Comment(6)
Try: ./anaconda-clean --yes (in the directory where "anaconda-clean" is locatedAcute
where is the location of anaconda clean? I have a folder called "opt" which includes "anaconda3". I have tried running your command from that folder. It says: "zsh: no such file or directory: ./anaconda-clean"Ecumenicity
If whereis anaconda-clean does not work, then find / -name anaconda-clean should work (but take some more time). (The results should tell you that it is in in the anaconda3/bin directory)Acute
thank you, it worked from the bin directory within opt/anaconda3/binEcumenicity
Sounds like the Conda base environment was not active.Swinford
The solution at this link worked for me -Rhyne
U
7

You need to activate conda first:

conda activate

and then do:

anaconda-clean --yes
Ulrika answered 28/9, 2022 at 18:15 Comment(2)
It didn't work. I got: (eval):16: unmatched "Fifteen
Didn't work for meAyana

© 2022 - 2024 — McMap. All rights reserved.