ManimCommunity / manim

A community-maintained Python framework for creating mathematical animations.
https://www.manim.community
MIT License
25.51k stars 1.77k forks source link

"First steps with Manim" doesn't work in manim docker image's Jupyter Lab #3991

Open EugZol opened 8 hours ago

EugZol commented 8 hours ago

Preliminaries

Description of error

Installation logs

Terminal output ``` https://pastebin.com/KdXaqUKb ```

System specifications

System Details ``` - OS - Windows 10 (19045.5011) + WSL (10.0.19041.4522 (WinBuild.160101.0800)) + Docker Desktop (4.11.1) - RAM: 32G - Python version (`python/py/python3 --version`): from manim docker image - Installed modules (provide output from `pip list`): from manim docker image ```

Additional comments

Cell 1 gives a warning:

/usr/local/lib/python3.11/site-packages/pydub/utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
  warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)

Cell 2 renders.

Cell 3 gives an error: https://pastebin.com/KHejrpJ1

behackl commented 7 hours ago

Does removing the quality options (-qm) from the magic command resolve the issue? You can alternatively set the render quality preset via config.quality = "medium_quality".