Installation¶
Manim runs on Python 3.8.
System requirements are:
OpenGL (included in python package
PyOpenGL
)LaTeX (optional, if you want to use LaTeX)
cairo (included in python package
pycairo
. optional, if you want to useText
in manim)
Directly¶
If you want to hack on manimlib itself, clone this repository and in that directory execute:
# Install python requirements
pip install -r requirements.txt
# Try it out
python -m manim example_scenes.py OpeningManimExample
If you run the above command and no error message appears, then you have successfully installed all the environments required by manim.
Directly (Windows)¶
Install FFmpeg, and make sure that its path is in the PATH environment variable.
Install a LaTeX distribution. TeXLive-full is recommended.
Install the remaining Python packages.
git clone https://github.com/3b1b/manim.git
cd manim
pip install -r requirements.txt
python manim.py example_scenes.py OpeningManimExample
For Anaconda¶
Install FFmpeg and LaTeX as above.
Create a conda environment using
git clone https://github.com/3b1b/manim.git
cd manim
conda env create -f environment.yml
Using virtualenv and virtualenvwrapper¶
After installing virtualenv
and virtualenvwrapper
git clone https://github.com/3b1b/manim.git
mkvirtualenv -a manim -r requirements.txt manim
python -m manim example_scenes.py OpeningManimExample