System Requirements
Python Version
Python 3.9 or higher required
Operating Systems
Windows, macOS, Linux (all supported)
Storage
~500MB for basic installation
RAM
4GB minimum, 8GB recommended
Prerequisites by Platform
Linux
ManimVTK requires system-level dependencies on Linux for text rendering (ManimPango).- Debian/Ubuntu
- Fedora
- Arch Linux
- Other Distributions
- Ubuntu 20.04, 22.04, 24.04
- Debian 11, 12
- Google Colab
Linux headless environments: For rendering on servers without a display, you’ll need
xvfb:macOS
No additional system dependencies required! Python 3.9+ is sufficient.Windows
No additional system dependencies required! Python 3.9+ is sufficient.Installation Methods
Method 1: From PyPI (Recommended)
Install the latest stable release from the Python Package Index:- Basic Installation
- Scientific Stack
- Development Installation
- Core ManimVTK functionality
- VTK rendering and export
- All standard dependencies
Method 2: From Source
For development or the latest unreleased features:Editable mode (
-e) allows you to modify the source code and see changes immediately without reinstallingVerify Installation
After installation, verify that ManimVTK is working correctly:Test Rendering
Create a test filetest.py:
If a video file opens, your installation is working correctly!
Test VTK Export
Test VTK functionality:Troubleshooting
ImportError: No module named 'manimpango'
ImportError: No module named 'manimpango'
This means ManimPango failed to install, usually due to missing system dependencies.Solution:
- Install system dependencies (see Prerequisites section above)
- Reinstall:
pip install --force-reinstall manimpango
ModuleNotFoundError: No module named 'vtk'
ModuleNotFoundError: No module named 'vtk'
VTK was not installed or the installation failed.Solution:
OpenGL errors on Linux
OpenGL errors on Linux
This occurs in headless environments (servers without display).Solution:
Permission denied errors
Permission denied errors
You may need to use
--user flag or a virtual environment.Solution:FFmpeg not found
FFmpeg not found
ManimVTK uses FFmpeg for video encoding.Solution:
Virtual Environments (Recommended)
Using virtual environments helps avoid dependency conflicts:- venv (Built-in)
- conda
- uv (Fast)

