pep-dortmund / homepage-toolbox

Website for the PeP et al. Toolbox Workshop at TU Dortmund
http://toolbox.pep-dortmund.org
3 stars 1 forks source link

Change all Anaconda to Mambaforge #230

Closed jpwgnr closed 1 year ago

jpwgnr commented 1 year ago

try to solve pep-dortmund/toolbox-workshop#319.

Please check for all OS:

chrbeckm commented 1 year ago

Auf Windows 10 mit WSL 1 und Ubuntu 22.04 versucht er bei mamba activate conda zu finden, was nicht installiert ist. Fehler: __conda_activate: command not found

jpwgnr commented 1 year ago

Is everything fine now? Could someone check on Mac?

On Ubuntu and Windows it works. Also with bash and zsh.

maxnoe commented 1 year ago

Mit der aktuellen version wird mamba activate/deactivate nicht funktionieren, siehe kommentar oben, hier nochmal:

mamba init also adds the sourcing of conda.sh to the shell init file. So the correct way I'd say is:

$ bash Mambaforge-$(uname)-$(uname -m).sh -p ~/.local/conda -b
$ source ~/.local/conda/etc/profile.d/mamba.sh
$ mamba init

and then close the current and open a new terminal, which will have everything setup correctly so that both conda and mamba work.

jpwgnr commented 1 year ago

Ahh, now I get it. Yes, you are right. This works. I will change it accordingly soon.

chrbeckm commented 1 year ago

I checked on an IMac (2009) and 10.11.6, El Capitan. Don't know how it works on the new M1/M2 chips.