conda-forge / miniforge

A conda-forge distribution.
https://conda-forge.org/miniforge
Other
6.39k stars 326 forks source link

Default Channels #632

Open bshim181 opened 2 months ago

bshim181 commented 2 months ago

Comment:

Hello,

I am trying to migrate from anaconda to miniforge3 due to license issues. I have exported all my environments in .yaml and trying to set it up in miniforge3. What I am noticing is that, whenever I try to create an environment, defaults channels pops up.

I have configured to include bioconda and conda-forge only in my .condarc

Screenshot 2024-08-23 at 12 18 48 PM

Also, I only have those two channels in my .yaml file.

Why might this happen?

jaimergp commented 2 months ago

Can you add nodefaults to the channel list?

bshim181 commented 2 months ago
Screenshot 2024-08-23 at 2 06 49 PM

After adding nodefaults, this is what I see when i run a command like, mamba env create -f mixcr.yaml or conda env create -f mixcr.yaml

jaimergp commented 2 months ago

Can you check with micromamba create -f? You might need to install that first.

bshim181 commented 2 months ago

oh okay. micromamba is not present.

bshim181 commented 2 months ago

The envs which I created with micromamba -f gets stored in the micromamba directory and not the miniforge3 directory. Would that be a problem??

bridgetjs commented 2 months ago

Hi, I also had this issue. You might have an errant .condac file that was left over from the previous anaconda installation. On windows I found this in my home directory ~/.condarc

You could check the path to make sure that conda isn't finding other .condarc files with the defaults channel configured

jaimergp commented 2 months ago

conda config --show-sources might help with this!

The envs which I created with micromamba -f gets stored in the micromamba directory and not the miniforge3 directory. Would that be a problem??

Not really. You can also configure micromamba to put things where your Miniforge is. See https://mamba.readthedocs.io/en/latest/user_guide/micromamba.html#quickstarts