Mamba: Difference between revisions

From Stat DS Computing Wiki
Jacobg2 (talk | contribs)
Jacobg2 (talk | contribs)
Line 11: Line 11:
</syntaxhighlight>
</syntaxhighlight>


# Activate the environment.
## Activate the environment.
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
mamba activate testenv1
mamba activate testenv1

Revision as of 13:56, 6 October 2025

Mamba is the new alternative to Conda. It functions similarly and is preinstalled on all Statistics & Data Science servers.


Creating an Environment

Create a new Python environment.

  1. Log into a server and run the "create" command.
mamba create -n testenv1 python=3.11
    1. Activate the environment.
mamba activate testenv1
  1. Install packages to the environment.
mamba install pandas
  1. List all environments.
mamba env list