ManimCommunity / ManimCommunity/manim

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

Open
#3,991 3 comments 0 reactions 0 assignees View on GitHub
installation
Dominant language
Python
Stars
40.9k
Forks
3.1k
Avg merge
3d 12h
Merged PRs (30d)
25

Description

#### Preliminaries

- [X] I have followed the latest version of the
[installation instructions](https://docs.manim.community/en/stable/installation.html).
- [X] I have checked the [installation FAQ](https://docs.manim.community/en/stable/faq/installation.html) and my problem is either not mentioned there,
or the solution given there does not help.

## 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

Contributor guide

Open the contributing guide

Research direction

Start by running First Steps with Manim.ipynb in Jupyter Lab using the manimcommunity/manim Docker image and the reported bind-mounted directory. Read the terminal output and the Cell 3 traceback in the linked paste, then compare the Cell 1 ffmpeg warning with the rendered Cell 2 result. Done means the notebook's failing cell runs successfully in the described environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, jupyter-notebook, python
Domain
devops, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.