MCPcopy Index your code
hub / github.com/ipython/ipython / mamba

Method mamba

IPython/core/magics/packaging.py:146–153  ·  view source on GitHub ↗

Run the mamba package manager within the current kernel. Usage: %mamba install [pkgs]

(self, line)

Source from the content-addressed store, hash-verified

144 @line_magic
145 @is_conda_environment
146 def mamba(self, line):
147 """Run the mamba package manager within the current kernel.
148
149 Usage:
150 %mamba install [pkgs]
151 """
152 mamba = _get_conda_like_executable("mamba")
153 self._run_command(mamba, line)
154
155 @line_magic
156 @is_conda_environment

Callers

nothing calls this directly

Calls 2

_run_commandMethod · 0.95

Tested by

no test coverage detected