Important

This documentation covers IPython versions 6.0 and higher. Beginning with version 6.0, IPython stopped supporting compatibility with Python versions lower than 3.3 including all versions of Python 2.7.

If you are looking for an IPython version compatible with Python 2.7, please use the IPython 5.x LTS release and refer to its documentation (LTS is the long term support release).

Module: core.magics.packaging

Implementation of packaging-related magic functions.

1 Class

class IPython.core.magics.packaging.PackagingMagics(**kwargs: Any)

Bases: Magics

Magics related to packaging & installation

conda(line)

Run the conda package manager within the current kernel.

Usage:

%conda install [pkgs]

mamba(line)

Run the mamba package manager within the current kernel.

Usage:

%mamba install [pkgs]

micromamba(line)

Run the conda package manager within the current kernel.

Usage:

%micromamba install [pkgs]

pip(line)

Run the pip package manager within the current kernel.

Usage:

%pip install [pkgs]

1 Function

IPython.core.magics.packaging.is_conda_environment(func)