mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Updated README for Windows installation
Adds a section under "Installation" that details all the steps necessary to getting manim to run on Windows. Tested on several Windows 10 machines with unvarying success.
This commit is contained in:
parent
8be321d104
commit
3cfe960ee1
1 changed files with 18 additions and 0 deletions
18
README.md
18
README.md
|
@ -18,6 +18,24 @@ python3 -m pip install -r requirements.txt
|
||||||
python3 -m manim example_scenes.py SquareToCircle -pl
|
python3 -m manim example_scenes.py SquareToCircle -pl
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Directly (Windows)
|
||||||
|
1. [Install FFmpeg](https://www.wikihow.com/Install-FFmpeg-on-Windows).
|
||||||
|
2. Install Cairo. Download the wheel from https://www.lfd.uci.edu/~gohlke/pythonlibs/#pycairo. For most users, ``pycairo‑1.18.0‑cp37‑cp37m‑win32.whl`` will do fine.
|
||||||
|
```sh
|
||||||
|
pip3 install C:\path\to\wheel\pycairo‑1.18.0‑cp37‑cp37m‑win32.whl
|
||||||
|
```
|
||||||
|
3. Install a LaTeX distibution. [MiKTeX](https://miktex.org/download) is recommended.
|
||||||
|
|
||||||
|
4. [Install SoX](https://sourceforge.net/projects/sox/files/sox/).
|
||||||
|
|
||||||
|
5. Install the remaining Python packages. Make sure that ``pycairo==1.17.1`` is changed to ``pycairo==1.18.0`` in requirements.txt.
|
||||||
|
```sh
|
||||||
|
git clone https://github.com/3b1b/manim.git
|
||||||
|
cd manim
|
||||||
|
pip3 install -r requirements.txt
|
||||||
|
python3 manim.py example_scenes.py SquareToCircle -pl
|
||||||
|
```
|
||||||
|
|
||||||
### Using `virtualenv` and `virtualenvwrapper`
|
### Using `virtualenv` and `virtualenvwrapper`
|
||||||
After installing `virtualenv` and `virtualenvwrapper`
|
After installing `virtualenv` and `virtualenvwrapper`
|
||||||
```sh
|
```sh
|
||||||
|
|
Loading…
Add table
Reference in a new issue