Resolving duplicate miniforge installs on Mac

465 Views Asked by At

I am having issues understanding the current setup of conda environment managers on my machine.

I originally installed the conda package manager from miniforge using homebrew. I setup a few environments and everything was working quite smoothly; the environments showed up at locations:

/opt/homebrew/Caskroom/miniforge/base
/opt/homebrew/Caskroom/miniforge/base/envs/DeepLearning
/opt/homebrew/Caskroom/miniforge/base/envs/py311
/opt/homebrew/Caskroom/miniforge/base/envs/test_env

When I started working with tensorflow I read a few online tutorials on how to get it correctly setup on Apple silicon machines, and along the way I followed instructions that included getting the required packages from the github miniforge... long story short I now have these environments in a totally different location, and the previous environments are not accessible by conda-activating their names without explicit path to their location in /opt/homebrew/Caskroom/etc

The new environments' location is

 tf  /Users/name/miniforge3/envs/tf

Question 1) Did I actually install two distinct conda package managers?

Question 2) Do I need to actually keep these two installs, or did it results simply from my noobness during the install process?

Question 3) If I can indeed consolidate my environment to a unique location, how do I uninstall the superfluous one?

I have searched and read quite a few threads, but mostly find advice on how to purposefully keep two distinct conda installations on one machine (which I am not sure I actually need to) or how to have a setup in which calls to each environment use the specific path.

I know I can actually access the old environments using the entire path in the call to the environment, what I am trying to understand is whether or not I actually need to maintain two distinct condas, as I fear this will only cause more confusion in me and potentially conflicts when managing packages.

0

There are 0 best solutions below