A community-maintained Python framework for creating mathematical animations.
Mention pixi in installation guide (#3678)
Pavel Zwerschke2a4c2da1d78a
diff --git a/docs/source/installation.rst b/docs/source/installation.rstindex 7e91a63c3..9822e3e17 100644--- a/docs/source/installation.rst+++ b/docs/source/installation.rst@@ -28,8 +28,8 @@ your system's Python, or via Docker)... _conda-installation:-Installing Manim in conda-*************************+Installing Manim via Conda and related environment managers+***********************************************************Conda is a package manager for Python that allows creating environmentswhere all your dependencies are stored. Like this, you don't clutter up your PC with@@ -39,6 +39,15 @@ It is a good way to install manim since all dependencies likeAlso, the installation steps are the same, no matter if you areon Windows, Linux, Intel Macs or on Apple Silicon.+.. NOTE::++ There are various popular alternatives to Conda like+ `mamba <https://mamba.readthedocs.io/en/latest/>`__ /+ `micromamba <https://mamba.readthedocs.io/en/latest/user_guide/micromamba.html>`__,+ or `pixi <https://pixi.sh>`__.+ They all can be used to setup a suitable, isolated environment+ for your Manim projects.+The following pages show how to install Manim in a conda environment:.. toctree::@@ -54,7 +63,8 @@ Installing Manim locally************************Manim is a Python library, and it can be-`installed via pip <https://pypi.org/project/manim/>`__. However,+installed via `pip <https://pypi.org/project/manim/>`__+or `conda <https://anaconda.org/conda-forge/manim/>`__. However,in order for Manim to work properly, some additional systemdependencies need to be installed first. The following pages haveoperating system specific instructions for you to follow.diff --git a/docs/source/installation/conda.rst b/docs/source/installation/conda.rstindex b946b003a..b69c8d6de 100644--- a/docs/source/installation/conda.rst+++ b/docs/source/installation/conda.rst@@ -4,18 +4,21 @@ CondaRequired Dependencies----------------------To create a conda environment, you must first install-`conda <https://docs.conda.io/projects/conda/en/latest/user-guide/install/download.html>`__-or `mamba <https://mamba.readthedocs.io/en/latest/installation.html>`__,-the two most popular conda clients.+There are several package managers that work with conda packages,+namely `conda <https://docs.conda.io/projects/conda/en/latest/user-guide/install/download.html>`__,+`mamba <https://mamba.readthedocs.io>`__ and `pixi <https://pixi.sh>`__.-After installing conda, you can create a new environment and install ``manim`` inside by running+After installing your package manager, you can create a new environment and install ``manim`` inside by running.. code-block:: bash+ # using conda or mambaconda create -n my-manim-environmentconda activate my-manim-environmentconda install -c conda-forge manim+ # using pixi+ pixi init+ pixi add manimSince all dependencies (except LaTeX) are handled by conda, you don't need to worryabout needing to install additional dependencies.