Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
EugZol opened this issue Oct 31, 2024 · 3 comments
Open
2 tasks done
Labels
installation Everything concerning the installation process

Comments

@EugZol
Copy link

EugZol commented Oct 31, 2024

Preliminaries

Description of error

  • Use manimcommunity/manim docker image
  • Bind directory with First Steps with Manim.ipynb file
  • Run the file with jupyter lab

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

@EugZol EugZol added the installation Everything concerning the installation process label Oct 31, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in Dev Board Oct 31, 2024
@behackl
Copy link
Member

behackl commented Oct 31, 2024

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".

@idg10
Copy link

idg10 commented Dec 1, 2024

I get exactly the same Couldn't find ffmpeg or avconv message when trying to follow the quickstart in which we just create a scene.py file (and don't attempt to use Jupyter).

So that part of this issue seems to be independent of whether you use Jupyter.

I tried explicitly specifying the stable tag. The manim docker instructions say to use manimcommunity/manim which produced this warning, but when I tried manimcommunity/manim:stable, I no longer saw that Couldn't find ffmpeg or avconv warning.

So you could try that.

@behackl
Copy link
Member

behackl commented Dec 1, 2024

The latest image does not need ffmpeg/avconf any longer: while the warning is printed, it should be inconsequential.

The issue here is mainly about the error in step 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation Everything concerning the installation process
Projects
Status: 🆕 New
Development

No branches or pull requests

3 participants