Skip to main content

How to Install Manim on Windows 10/11 (Python, FFmpeg, pip Setup + First Animation)

[HPP] 3Blue1BrownFebruary 17, 20268 min
6 connections·10 entities in this video→

Manim Overview & Prerequisites

  • πŸ’‘ This video provides a complete and correct installation guide for Manim, a mathematical animation tool popularized by 3Blue1Brown, on Windows 10 and 11.
  • ⚠️ The official Manim documentation for installation is not optimal for Windows or Mac, leading to common dependency issues.
  • βœ… Before starting, ensure you have Python 3.10+ (with pip included) and FFmpeg installed and properly configured on your system.

Setting Up Your Environment

  • 🐍 When installing Python, it's crucial to add Python to your system's PATH environment variable for proper functionality.
  • πŸ› οΈ For FFmpeg, download the Windows build, extract the zip file, and add the path to its bin folder to your environment variables.
  • πŸ” Verify successful installations by checking versions in the command prompt: python --version, pip --version, and ffmpeg -version.
  • 🌱 Create a dedicated project folder for Manim and open the command prompt directly within that directory.

Installing Manim

  • πŸ“¦ It is highly recommended to create and activate a virtual environment within your project folder to manage dependencies and avoid conflicts.
  • πŸ’» Use the command python -m venv venv to create the virtual environment, then venv\Scripts\activate to activate it.
  • πŸš€ Install Manim using pip with the command pip install manim while your virtual environment is active.
  • 🩺 After installation, confirm Manim's status using manim --version and manim checkhealth to identify any missing dependencies like LaTeX.

Running Your First Animation

  • ✍️ Create a new Python file (e.g., example.py) in your project folder and paste Manim code to define an animation.
  • ▢️ Execute the Manim code from the command prompt using manim -pql example.py ClassName (replacing ClassName with your animation class name).
  • 🎬 Manim will render the animation and save the resulting MP4 video file in a newly created media folder within your project directory.
  • βž• LaTeX is only required if you plan to render complex mathematical equations; basic text animations work without it.
Knowledge graph10 entities Β· 6 connections

How they connect

An interactive map of every person, idea, and reference from this conversation. Hover to trace connections, click to explore.

Hover Β· drag to explore
10 entities
Chapters3 moments

Key Moments

Transcript29 segments

Full Transcript

Topics15 themes

What’s Discussed

ManimMathematical animationWindows 10Windows 11Python installationpip setupFFmpeg configurationVirtual environmentsCommand promptDependency managementVideo rendering3Blue1BrownLaTeXPython libraryEnvironment variables
Smart Objects10 Β· 6 links
ProductsΒ· 7
MediasΒ· 2
ConceptΒ· 1