Manim can be installed not only on Windows, but also on Linux and Mac, but here we will introduce the installation method only when using Windows10.
Basic Environment for this lecture
- OS: Windows 10 (or Windows 7)
- Python: Python 3 (If you're not installed Python in your PC, please visit Python site and intall it)
I'm using Python 3.7.7 but the latest version is 3.8.3 now (2020.5.31). It's possible (better) to use the latest one.
Install required external libraries
In addition to Python, Manim uses external libraries for video file creation, audio file playback, graphic processing, and text processing, so you must install this libraries in advance.
Just follow the installation sequence below. (Python must already be installed.)
1) FFmpeg: Library that creates video files
Download the installation file from the site below and install it.
https://www.wikihow.com/Install-FFmpeg-on-Windows
2) pycairo: Graphic library
Download the installation file for your operating system from the site below and run it to install.
https://www.lfd.uci.edu/~gohlke/pythonlibs/#pycairo
In case of 64bit Windows and Python 3.8, select 'pycairo-1.19.1-cp38-win_amd64.whl' file and download it
You have to install downloaded file with 'pip install' command in the directory containing the downloaded file.
pip install pycairo‑1.19.1‑cp38‑cp38‑win_amd64.whl
3) MikTex: LaTex program for equation input
- Download the install file from https://miktex.org/download (the size is almost 235MB)
- If above site doesn't respond, it's possible to use below site:
http://mirrors.ibiblio.org/CTAN/systems/windows/miktex/setup/windows-x64/ - Run the dowloaded file. The file name will be basic-miktex-2.9.7442-x64.exe
(The file name can be different when you're trying to download. )
If you finish installation the MikTex program, the program will start to package installation automatically. However if your network environment uses 'proxy', you have to set proxy in the MikTex Console:
How to set proxy for MikTex
- Rrun MikTex Console Program
- Packages > Change > Connection Setting : set proxy you're using and select any site to download the package.
The newly required LaTex packages when you're creating a TexMobject in the manim will be downloaded at that time and ask you the permission to download it. This is a bit annoying whenever you have to press 'Yes'button when a new package is required.
Therefore, it's better to set the option as 'Always install missing packages on-the-fly' in the MiKtex Console program.
If you want to use another languages other than English in the LaTex, you have to modify tex_template.tex file. You can find out how to modify the file on this page.
4) Sox: Sound library
Download installation file in here: sourceforge.net/projects/sox/files/sox/
The most recent version is 14.4.2
Download 'sox-14.4.2-win32.exe' file from the site and run it to install.
The required external libraries have been installed. Now just install the Madam Library according to the next page.
Next: [02-2]Download and Install the Manim package
Go To: [99] Table of Contents
'Programming > Manim Lectures' 카테고리의 다른 글
[02-4]Multilingual setting in LaText (0) | 2020.05.31 |
---|---|
[02-3]Using the Manim in the new directory (0) | 2020.05.31 |
[02-2]Download and Install the Manim package (0) | 2020.05.31 |
[02]Building a development environment (0) | 2020.05.31 |
[01]Introduction to Manim (0) | 2020.05.31 |