Installation
============
Manim runs on Python 3.8.
System requirements areļ¼
- `FFmpeg `__
- `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 use ``Text`` in manim)
Directly
--------
If you want to hack on manimlib itself, clone this repository and in
that directory execute:
.. code:: sh
# Install python requirements
pip install -r requirements.txt
# Try it out
python -m manim example_scenes.py OpeningManimExample
Directly (Windows)
------------------
1. `Install
FFmpeg `__, and make sure that its path is in the PATH environment variable.
2. Install a LaTeX distribution.
`TeXLive-full `__ is recommended.
3. Install the remaining Python packages.
.. code:: sh
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
.. code-block:: sh
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``
.. code:: sh
git clone https://github.com/3b1b/manim.git
mkvirtualenv -a manim -r requirements.txt manim
python -m manim example_scenes.py OpeningManimExample