Mamba: Difference between revisions
From Stat DS Computing Wiki
No edit summary |
|||
| Line 8: | Line 8: | ||
== Creating an Environment == | == Creating an Environment == | ||
1. | 1. Create a new Python environment by logging into a server and running the "create" command. | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
mamba create -n testenv1 python=3.11 | mamba create -n testenv1 python=3.11 | ||
Revision as of 14:28, 6 October 2025
Mamba is the new alternative to Conda. It functions similarly and is preinstalled on all Statistics & Data Science servers.
Installed at...
/opt/miniforge3/bin/mamba
Creating an Environment
1. Create a new Python environment by logging into a server and running the "create" command.
mamba create -n testenv1 python=3.112. Activate the environment.
mamba activate testenv13. Install packages to the environment.
mamba install pandas4. List all environments.
mamba env list