For future reference, the error is
#21 [15/18] RUN /srv/conda/envs/notebook/bin/pip install --no-cache-dir -r "requirements.txt"
#21 0.851 Collecting manim==0.19.0 (from -r requirements.txt (line 1))
#21 0.885 Downloading manim-0.19.0-py3-none-any.whl.metadata (11 kB)
#21 1.242 Collecting Pillow>=9.1 (from manim==0.19.0->-r requirements.txt (line 1))
#21 1.250 Downloading pillow-12.0.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (8.8 kB)
#21 1.257 Requirement already satisfied: Pygments>=2.0.0 in /srv/conda/envs/notebook/lib/python3.10/site-packages (from manim==0.19.0->-r requirements.txt (line 1)) (2.19.2)
#21 1.336 Collecting av<14.0.0,>=9.0.0 (from manim==0.19.0->-r requirements.txt (line 1))
#21 1.362 Downloading av-13.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.4 kB)
#21 1.364 Requirement already satisfied: beautifulsoup4>=4.12 in /srv/conda/envs/notebook/lib/python3.10/site-packages (from manim==0.19.0->-r requirements.txt (line 1)) (4.13.4)
#21 1.384 Collecting click>=8.0 (from manim==0.19.0->-r requirements.txt (line 1))
#21 1.392 Downloading click-8.3.0-py3-none-any.whl.metadata (2.6 kB)
#21 1.418 Collecting cloup>=2.0.0 (from manim==0.19.0->-r requirements.txt (line 1))
#21 1.427 Downloading cloup-3.0.8-py2.py3-none-any.whl.metadata (6.4 kB)
#21 1.430 Requirement already satisfied: decorator>=4.3.2 in /srv/conda/envs/notebook/lib/python3.10/site-packages (from manim==0.19.0->-r requirements.txt (line 1)) (5.2.1)
#21 1.446 Collecting isosurfaces>=0.1.0 (from manim==0.19.0->-r requirements.txt (line 1))
#21 1.457 Downloading isosurfaces-0.1.2-py3-none-any.whl.metadata (3.3 kB)
#21 1.505 Collecting manimpango<1.0.0,>=0.5.0 (from manim==0.19.0->-r requirements.txt (line 1))
#21 1.517 Downloading manimpango-0.6.0.tar.gz (4.1 MB)
#21 1.604 â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” 4.1/4.1 MB 52.9 MB/s 0:00:00
#21 1.783 Installing build dependencies: started
#21 4.018 Installing build dependencies: finished with status 'done'
#21 4.019 Getting requirements to build wheel: started
#21 4.658 Getting requirements to build wheel: finished with status 'error'
#21 4.663 error: subprocess-exited-with-error
#21 4.663
#21 4.663 × Getting requirements to build wheel did not run successfully.
#21 4.663 │ exit code: 1
#21 4.663 ╰─> [28 lines of output]
#21 4.663 Package pangocairo was not found in the pkg-config search path.
#21 4.663 Perhaps you should add the directory containing `pangocairo.pc'
#21 4.663 to the PKG_CONFIG_PATH environment variable
#21 4.663 No package 'pangocairo' found
#21 4.663 Traceback (most recent call last):
#21 4.663 File "<string>", line 137, in check_min_version
#21 4.663 File "/srv/conda/envs/notebook/lib/python3.10/subprocess.py", line 369, in check_call
#21 4.663 raise CalledProcessError(retcode, cmd)
#21 4.663 subprocess.CalledProcessError: Command '['pkg-config', '--print-errors', '--atleast-version', '1.30.0', 'pangocairo']' returned non-zero exit status 1.
#21 4.663
#21 4.663 During handling of the above exception, another exception occurred:
#21 4.663
#21 4.663 Traceback (most recent call last):
#21 4.663 File "/srv/conda/envs/notebook/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
#21 4.663 main()
#21 4.663 File "/srv/conda/envs/notebook/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
#21 4.663 json_out["return_val"] = hook(**hook_input["kwargs"])
#21 4.663 File "/srv/conda/envs/notebook/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
#21 4.663 return hook(config_settings)
#21 4.663 File "/tmp/pip-build-env-t08mp1yl/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
#21 4.663 return self._get_build_requires(config_settings, requirements=[])
#21 4.663 File "/tmp/pip-build-env-t08mp1yl/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
#21 4.663 self.run_setup()
#21 4.663 File "/tmp/pip-build-env-t08mp1yl/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 317, in run_setup
#21 4.663 exec(code, locals())
#21 4.663 File "<string>", line 204, in <module>
#21 4.663 File "<string>", line 140, in check_min_version
#21 4.663 __main__.RequiredDependencyException: pangocairo >= 1.30.0 is required
#21 4.663 [end of output]
#21 4.663
#21 4.663 note: This error originates from a subprocess, and is likely not a problem with pip.
#21 4.739 error: subprocess-exited-with-error
#21 4.739
#21 4.739 × Getting requirements to build wheel did not run successfully.
#21 4.739 │ exit code: 1
#21 4.739 ╰─> See above for output.
#21 4.739
#21 4.739 note: This error originates from a subprocess, and is likely not a problem with pip.
#21 ERROR: process "/bin/sh -c ${KERNEL_PYTHON_PREFIX}/bin/pip install --no-cache-dir -r \"requirements.txt\"" did not complete successfully: exit code: 1
The relevant line is
Package pangocairo was not found in the pkg-config search path.
This indicates a missing dependency.
For comparison, the developers of manin has GitHub - ManimCommunity/jupyter_examples: This repo contains example notebooks which can be launched via binder that is mybinder.org ready but uses it’s a Dockerfile, see jupyter_examples/Dockerfile at 477321861cbe2ebb526304a3e6cbd0ae1ba181b9 · ManimCommunity/jupyter_examples · GitHub, that imports another Dockerfile that I believe to be https://github.com/ManimCommunity/manim/blob/855ea863b690929cd605cfcb9c86a7b3ac6bbcab/docker/Dockerfile.
The only want to use manin will be using Dockerfile as the configuration file.