Show More
@@ -392,16 +392,29 Reverted in 8.17.1: | |||
|
392 | 392 | |
|
393 | 393 | - :ghpull:`14190` remove support for python 2 in lexers (reverted in 8.17.1 as it is imported by qtconsole/spyder) |
|
394 | 394 | |
|
395 |
|
|
|
396 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
|
395 | .. _ref: mamba-and-micromamba-magic | |
|
396 | .. _ref: mamba-and-micromamba-magic-commands | |
|
397 | ||
|
398 | Mamba and Micromamba magic commands | |
|
399 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
|
400 | ||
|
401 | In addition to the ``%conda`` magic command for calling ``conda`` in IPython, | |
|
402 | the ``%mamba`` and ``%micromamba`` magic commands now | |
|
403 | call ``mamba`` and ``micromamba`` if they are on ``sys.path``. | |
|
404 | ||
|
405 | .. code:: python | |
|
406 | ||
|
407 | %mamba install pkgname | |
|
408 | %micromamba install pkgname | |
|
409 | %conda install pkgname | |
|
410 | %pip install pkgname | |
|
397 | 411 | |
|
398 | In addition to the conda command to manage conda environment, mamba and | |
|
399 | micromamba can now be used using the corresponding magic in IPython. | |
|
400 | Since these commands are compatible with conda, they are following the | |
|
401 | same logic. | |
|
412 | %mamba --help | |
|
413 | %micromamba --help | |
|
414 | %conda --help | |
|
415 | %pip --help # works w/ JupyterLite | |
|
416 | !pip --help | |
|
402 | 417 | |
|
403 | These two magic require to have the corresponding commands available | |
|
404 | either in the conda environment or system wide. | |
|
405 | 418 | |
|
406 | 419 | :ghpull:`14191` |
|
407 | 420 |
General Comments 0
You need to be logged in to leave comments.
Login now