ManimCommunity / manim

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

Could not build wheels for Pillow #3571

Closed fedoseevtaf closed 2 months ago

fedoseevtaf commented 8 months ago

Preliminaries

Description of error

During the installation of manim I have an error: Could not build wheels for Pillow.... I think that the cause is that Python 3.12 and Pillow 9.5 are incompatible (https://pillow.readthedocs.io/en/stable/installation.html). Manim is dependent of Pillow<10.0 (as pip output says: Collecting Pillow<10.0,>=9.1 (from manim) Downloading Pillow-9.5.0.tar.gz), but only Pillow>10.0 is compatible with Python 3.12.

Installation logs

Terminal output ``` Collecting manim Obtaining dependency information for manim from https://files.pythonhosted.org/packages/2d/bc/71ac84b665f2d2f0d77f52bacb367224e04f7e5c24536beadcdc9147a0c2/manim-0.18.0-py3-none-any.whl.metadata Downloading manim-0.18.0-py3-none-any.whl.metadata (11 kB) Collecting Pillow<10.0,>=9.1 (from manim) Downloading Pillow-9.5.0.tar.gz (50.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.5/50.5 MB 5.4 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: Pygments<3.0.0,>=2.10.0 in /usr/lib/python3.12/site-packages (from manim) (2.15.1) Requirement already satisfied: click<=9.0,>=7.2 in /usr/lib/python3.12/site-packages (from manim) (8.1.3) Collecting click-default-group<2.0.0,>=1.2.2 (from manim) Obtaining dependency information for click-default-group<2.0.0,>=1.2.2 from https://files.pythonhosted.org/packages/2c/1a/aff8bb287a4b1400f69e09a53bd65de96aa5cee5691925b38731c67fc695/click_default_group-1.2.4-py2.py3-none-any.whl.metadata Downloading click_default_group-1.2.4-py2.py3-none-any.whl.metadata (2.8 kB) Collecting cloup<2.2,>=0.13 (from manim) Obtaining dependency information for cloup<2.2,>=0.13 from https://files.pythonhosted.org/packages/7e/ec/7ce8b959b01bb3d1ed5b18b18008676d159118397523280aa42fe623e30f/cloup-2.1.2-py2.py3-none-any.whl.metadata Downloading cloup-2.1.2-py2.py3-none-any.whl.metadata (7.2 kB) Collecting decorator<6.0.0,>=5.0.7 (from manim) Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB) Collecting isosurfaces==0.1.0 (from manim) Downloading isosurfaces-0.1.0-py3-none-any.whl (10 kB) Requirement already satisfied: manimpango<1.0.0,>=0.5.0 in /usr/local/lib64/python3.12/site-packages (from manim) (0.5.0) Collecting mapbox-earcut<2.0.0,>=1.0.0 (from manim) Obtaining dependency information for mapbox-earcut<2.0.0,>=1.0.0 from https://files.pythonhosted.org/packages/4b/4f/5d68201c4802766bbdb61f352013e054745d568823fc8e73874c35167031/mapbox_earcut-1.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata Downloading mapbox_earcut-1.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB) Collecting moderngl<6.0.0,>=5.6.3 (from manim) Obtaining dependency information for moderngl<6.0.0,>=5.6.3 from https://files.pythonhosted.org/packages/66/65/42aa4c3f0c9edeff4f6d6fb28c7277a10dd738e636923d58fb2075deb8b6/moderngl-5.9.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata Downloading moderngl-5.9.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.2 kB) Collecting moderngl-window<3.0.0,>=2.3.0 (from manim) Obtaining dependency information for moderngl-window<3.0.0,>=2.3.0 from https://files.pythonhosted.org/packages/45/6c/b5cfe4ac88237154524fbb0c7dc941bced68fa4c8ee7581fa8a627dfbeff/moderngl_window-2.4.5-py3-none-any.whl.metadata Downloading moderngl_window-2.4.5-py3-none-any.whl.metadata (8.8 kB) Collecting networkx<3.3,>=2.5 (from manim) Obtaining dependency information for networkx<3.3,>=2.5 from https://files.pythonhosted.org/packages/d5/f0/8fbc882ca80cf077f1b246c0e3c3465f7f415439bdea6b899f6b19f61f70/networkx-3.2.1-py3-none-any.whl.metadata Downloading networkx-3.2.1-py3-none-any.whl.metadata (5.2 kB) Collecting numpy<2.0,>=1.26 (from manim) Obtaining dependency information for numpy<2.0,>=1.26 from https://files.pythonhosted.org/packages/04/89/3b831e2b50c9364069609d1335f46c488a149d5f2be14a08741c92a60009/numpy-1.26.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata Downloading numpy-1.26.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 6.4 MB/s eta 0:00:00 Requirement already satisfied: pycairo<2.0,>=1.21 in /usr/lib64/python3.12/site-packages (from manim) (1.25.1) Collecting pydub<0.26.0,>=0.25.1 (from manim) Downloading pydub-0.25.1-py2.py3-none-any.whl (32 kB) Requirement already satisfied: requests<3.0.0,>=2.26.0 in /usr/lib/python3.12/site-packages (from manim) (2.28.2) Collecting rich!=12.0.0,>=6.0 (from manim) Obtaining dependency information for rich!=12.0.0,>=6.0 from https://files.pythonhosted.org/packages/be/be/1520178fa01eabe014b16e72a952b9f900631142ccd03dc36cf93e30c1ce/rich-13.7.0-py3-none-any.whl.metadata Downloading rich-13.7.0-py3-none-any.whl.metadata (18 kB) Collecting scipy<2.0,>=1.11 (from manim) Obtaining dependency information for scipy<2.0,>=1.11 from https://files.pythonhosted.org/packages/08/77/f90f7306d755ac68bd159c50bb86fffe38400e533e8c609dd8484bd0f172/scipy-1.11.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata Downloading scipy-1.11.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (60 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.4/60.4 kB 6.1 MB/s eta 0:00:00 Collecting screeninfo<0.9,>=0.8 (from manim) Downloading screeninfo-0.8.1-py3-none-any.whl (12 kB) Collecting skia-pathops<0.9.0,>=0.8.0.post1 (from manim) Obtaining dependency information for skia-pathops<0.9.0,>=0.8.0.post1 from https://files.pythonhosted.org/packages/94/46/fdfa5cc1a2737de22d2b4b18786b31dba30ecfd01fca5a38ae33cd8153f3/skia_pathops-0.8.0.post1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata Downloading skia_pathops-0.8.0.post1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.3 kB) Collecting srt<4.0.0,>=3.5.0 (from manim) Downloading srt-3.5.3.tar.gz (28 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting svgelements<2.0.0,>=1.8.0 (from manim) Obtaining dependency information for svgelements<2.0.0,>=1.8.0 from https://files.pythonhosted.org/packages/48/2c/6c9bb53db56c8a12a736d2158a8b842a5993b96daabc29d90a098e840280/svgelements-1.9.6-py2.py3-none-any.whl.metadata Downloading svgelements-1.9.6-py2.py3-none-any.whl.metadata (44 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.9/44.9 kB 5.7 MB/s eta 0:00:00 Collecting tqdm<5.0.0,>=4.62.3 (from manim) Obtaining dependency information for tqdm<5.0.0,>=4.62.3 from https://files.pythonhosted.org/packages/00/e5/f12a80907d0884e6dff9c16d0c0114d81b8cd07dc3ae54c5e962cc83037e/tqdm-4.66.1-py3-none-any.whl.metadata Downloading tqdm-4.66.1-py3-none-any.whl.metadata (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.6/57.6 kB 6.6 MB/s eta 0:00:00 Collecting typing-extensions<5.0.0,>=4.7.1 (from manim) Obtaining dependency information for typing-extensions<5.0.0,>=4.7.1 from https://files.pythonhosted.org/packages/b7/f4/6a90020cd2d93349b442bfcb657d0dc91eee65491600b2cb1d388bc98e6b/typing_extensions-4.9.0-py3-none-any.whl.metadata Downloading typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB) Collecting watchdog<=3.0.0,>=2.1 (from manim) Downloading watchdog-3.0.0-py3-none-manylinux2014_x86_64.whl (82 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.1/82.1 kB 6.9 MB/s eta 0:00:00 Collecting glcontext<3,>=2.5.0 (from moderngl<6.0.0,>=5.6.3->manim) Obtaining dependency information for glcontext<3,>=2.5.0 from https://files.pythonhosted.org/packages/8b/4b/e02eb5c99817f7483e42505e08c9cfc9e8c392c7756cef2b6f9fd38a1653/glcontext-2.5.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata Downloading glcontext-2.5.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.1 kB) Collecting pyglet~=2.0.0 (from moderngl-window<3.0.0,>=2.3.0->manim) Obtaining dependency information for pyglet~=2.0.0 from https://files.pythonhosted.org/packages/e9/33/cbff7525a357c950e76717ea9741127a662a7ed49a92874897b8a4036db9/pyglet-2.0.10-py3-none-any.whl.metadata Downloading pyglet-2.0.10-py3-none-any.whl.metadata (8.5 kB) Collecting pyrr<1,>=0.10.3 (from moderngl-window<3.0.0,>=2.3.0->manim) Downloading pyrr-0.10.3-py3-none-any.whl (46 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.8/46.8 kB 7.0 MB/s eta 0:00:00 INFO: pip is looking at multiple versions of moderngl-window to determine which version is compatible with other requirements. This could take a while. Collecting moderngl-window<3.0.0,>=2.3.0 (from manim) Obtaining dependency information for moderngl-window<3.0.0,>=2.3.0 from https://files.pythonhosted.org/packages/08/8a/c6dbe3c6a980ab5e188ed2394d3b4cd19fa353871941090f1b4c0f5a9317/moderngl_window-2.4.4-py3-none-any.whl.metadata Downloading moderngl_window-2.4.4-py3-none-any.whl.metadata (8.4 kB) Requirement already satisfied: charset-normalizer<4,>=2 in /usr/lib/python3.12/site-packages (from requests<3.0.0,>=2.26.0->manim) (3.2.0) Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3.12/site-packages (from requests<3.0.0,>=2.26.0->manim) (3.4) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3.12/site-packages (from requests<3.0.0,>=2.26.0->manim) (1.26.18) Collecting markdown-it-py>=2.2.0 (from rich!=12.0.0,>=6.0->manim) Obtaining dependency information for markdown-it-py>=2.2.0 from https://files.pythonhosted.org/packages/42/d7/1ec15b46af6af88f19b8e5ffea08fa375d433c998b8a7639e76935c14f1f/markdown_it_py-3.0.0-py3-none-any.whl.metadata Downloading markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB) Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich!=12.0.0,>=6.0->manim) Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB) Collecting multipledispatch (from pyrr<1,>=0.10.3->moderngl-window<3.0.0,>=2.3.0->manim) Obtaining dependency information for multipledispatch from https://files.pythonhosted.org/packages/51/c0/00c9809d8b9346eb238a6bbd5f83e846a4ce4503da94a4c08cb7284c325b/multipledispatch-1.0.0-py3-none-any.whl.metadata Downloading multipledispatch-1.0.0-py3-none-any.whl.metadata (3.8 kB) Downloading manim-0.18.0-py3-none-any.whl (572 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 572.5/572.5 kB 5.7 MB/s eta 0:00:00 Downloading click_default_group-1.2.4-py2.py3-none-any.whl (4.1 kB) Downloading cloup-2.1.2-py2.py3-none-any.whl (53 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.0/54.0 kB 8.3 MB/s eta 0:00:00 Downloading mapbox_earcut-1.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (107 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 107.2/107.2 kB 7.2 MB/s eta 0:00:00 Downloading moderngl-5.9.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (294 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 294.6/294.6 kB 7.1 MB/s eta 0:00:00 Downloading moderngl_window-2.4.4-py3-none-any.whl (369 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 369.5/369.5 kB 6.9 MB/s eta 0:00:00 Downloading networkx-3.2.1-py3-none-any.whl (1.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 5.8 MB/s eta 0:00:00 Downloading numpy-1.26.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.9/17.9 MB 2.3 MB/s eta 0:00:00 Downloading rich-13.7.0-py3-none-any.whl (240 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 240.6/240.6 kB 5.8 MB/s eta 0:00:00 Downloading scipy-1.11.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (35.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 35.8/35.8 MB 5.6 MB/s eta 0:00:00 Downloading skia_pathops-0.8.0.post1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 5.8 MB/s eta 0:00:00 Downloading svgelements-1.9.6-py2.py3-none-any.whl (137 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 137.9/137.9 kB 7.6 MB/s eta 0:00:00 Downloading tqdm-4.66.1-py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.3/78.3 kB 7.9 MB/s eta 0:00:00 Downloading typing_extensions-4.9.0-py3-none-any.whl (32 kB) Downloading glcontext-2.5.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (51 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.5/51.5 kB 5.7 MB/s eta 0:00:00 Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.5/87.5 kB 6.8 MB/s eta 0:00:00 Downloading pyglet-2.0.10-py3-none-any.whl (858 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 858.3/858.3 kB 6.3 MB/s eta 0:00:00 Downloading multipledispatch-1.0.0-py3-none-any.whl (12 kB) Building wheels for collected packages: Pillow, srt Building wheel for Pillow (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for Pillow (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [203 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-312 creating build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/features.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/_version.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/_util.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/_tkinter_finder.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/_deprecate.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/_binary.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/__main__.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/__init__.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/XpmImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/XbmImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/WmfImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/WebPImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/WalImageFile.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/TiffTags.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/TiffImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/TgaImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/TarIO.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/SunImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/SgiImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/QoiImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PyAccess.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PsdImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PpmImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PngImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PixarImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PdfParser.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PdfImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PcxImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PcfFontFile.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PcdImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PalmImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PaletteFile.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PSDraw.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/MspImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/MpoImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/MpegImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/MicImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/JpegPresets.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/JpegImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/IptcImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImtImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageWin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageTransform.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageTk.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageStat.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageShow.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageSequence.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageQt.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImagePath.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImagePalette.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageOps.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageMorph.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageMode.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageMath.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageGrab.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageFont.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageFilter.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageFile.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageEnhance.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageDraw2.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageDraw.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageColor.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageCms.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageChops.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/Image.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/IcoImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/GimpPaletteFile.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/GimpGradientFile.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/GifImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/GdImageFile.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/GbrImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/FtexImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/FpxImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/FontFile.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/FliImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/FitsImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ExifTags.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/EpsImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/DdsImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/DcxImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/CurImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ContainerIO.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/BmpImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/BlpImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/BdfFontFile.py -> build/lib.linux-x86_64-cpython-312/PIL running egg_info writing src/Pillow.egg-info/PKG-INFO writing dependency_links to src/Pillow.egg-info/dependency_links.txt writing requirements to src/Pillow.egg-info/requires.txt writing top-level names to src/Pillow.egg-info/top_level.txt reading manifest file 'src/Pillow.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.c' warning: no files found matching '*.h' warning: no files found matching '*.sh' warning: no files found matching '*.txt' warning: no previously-included files found matching '.appveyor.yml' warning: no previously-included files found matching '.clang-format' warning: no previously-included files found matching '.coveragerc' warning: no previously-included files found matching '.editorconfig' warning: no previously-included files found matching '.readthedocs.yml' warning: no previously-included files found matching 'codecov.yml' warning: no previously-included files found matching 'renovate.json' warning: no previously-included files matching '.git*' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*.so' found anywhere in distribution no previously-included directories found matching '.ci' adding license file 'LICENSE' writing manifest file 'src/Pillow.egg-info/SOURCES.txt' running build_ext The headers or library files could not be found for jpeg, a required dependency when compiling Pillow from source. Please see the install instructions at: https://pillow.readthedocs.io/en/latest/installation.html Traceback (most recent call last): File "", line 993, in File "/tmp/pip-build-env-h83e3vrj/overlay/lib/python3.12/site-packages/setuptools/__init__.py", line 103, in setup return distutils.core.setup(**attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-h83e3vrj/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) ^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-h83e3vrj/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/tmp/pip-build-env-h83e3vrj/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/tmp/pip-build-env-h83e3vrj/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 963, in run_command super().run_command(command) File "/tmp/pip-build-env-h83e3vrj/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/tmp/pip-build-env-h83e3vrj/overlay/lib/python3.12/site-packages/wheel/bdist_wheel.py", line 368, in run self.run_command("build") File "/tmp/pip-build-env-h83e3vrj/overlay/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command self.distribution.run_command(command) File "/tmp/pip-build-env-h83e3vrj/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 963, in run_command super().run_command(command) File "/tmp/pip-build-env-h83e3vrj/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/tmp/pip-build-env-h83e3vrj/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/build.py", line 131, in run self.run_command(cmd_name) File "/tmp/pip-build-env-h83e3vrj/overlay/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command self.distribution.run_command(command) File "/tmp/pip-build-env-h83e3vrj/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 963, in run_command super().run_command(command) File "/tmp/pip-build-env-h83e3vrj/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/tmp/pip-build-env-h83e3vrj/overlay/lib/python3.12/site-packages/setuptools/command/build_ext.py", line 88, in run _build_ext.run(self) File "/tmp/pip-build-env-h83e3vrj/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run self.build_extensions() File "", line 809, in build_extensions RequiredDependencyException: jpeg During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in main() File "/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-h83e3vrj/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 404, in build_wheel return self._build_with_temp_dir( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-h83e3vrj/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 389, in _build_with_temp_dir self.run_setup() File "/tmp/pip-build-env-h83e3vrj/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 480, in run_setup super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script) File "/tmp/pip-build-env-h83e3vrj/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 311, in run_setup exec(code, locals()) File "", line 1010, in RequiredDependencyException: The headers or library files could not be found for jpeg, a required dependency when compiling Pillow from source. Please see the install instructions at: https://pillow.readthedocs.io/en/latest/installation.html [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for Pillow Building wheel for srt (pyproject.toml) ... done Created wheel for srt: filename=srt-3.5.3-py3-none-any.whl size=22428 sha256=e62571672685c8c2a94310bdc29f80b1d55d39025e3f71184508b11d23e008eb Stored in directory: /root/.cache/pip/wheels/7e/75/5b/e1d5c3756631e4bda806f6cc9640153b39484bb6f7b0b8def3 Successfully built srt Failed to build Pillow ERROR: Could not build wheels for Pillow, which is required to install pyproject.toml-based projects ```

System specifications

System Details - OS: Fedora39 - RAM: 16G - Python version: Python 3.12.1 - Installed modules: ``` Package Version ------------------ --------- argcomplete 2.0.0 Beaker 1.12.1 beautifulsoup4 4.12.2 blivet 3.8.2 blivet-gui 2.4.2 Brlapi 0.8.5 cffi 1.15.1 charset-normalizer 3.2.0 click 8.1.3 cryptography 41.0.3 cson 0.8 cssselect 1.1.0 cupshelpers 1.0 dasbus 1.7 dbus-python 1.3.2 distro 1.8.0 dnf 4.18.2 fedora-third-party 0.10 file-magic 0.4.0 fros 1.1 humanize 3.13.1 idna 3.4 inkex 1.3.0 langtable 0.0.64 libcomps 0.1.20 libdnf 0.72.0 lxml 4.9.3 Mako 1.2.3 ManimPango 0.5.0 MarkupSafe 2.1.3 nftables 0.1 numpy 1.24.4 olefile 0.46 packaging 23.1 Paste 3.5.3 pexpect 4.8.0 pid 2.2.3 pillow 10.2.0 pip 23.2.1 ply 3.11 productmd 1.38 ptyprocess 0.7.0 pwquality 1.4.5 pycairo 1.25.1 pycparser 2.20 pycrypto 2.6.1 pycups 2.0.1 pycurl 7.45.2 pyenchant 3.2.2 Pygments 2.15.1 PyGObject 3.46.0 pykickstart 3.48 pyOpenSSL 23.2.0 pyparsing 3.0.9 pyparted 3.13.0 PyQt5 5.15.9 PyQt5-sip 12.12.2 pyserial 3.5 PySocks 1.7.1 python-augeas 1.1.0 python-dateutil 2.8.2 python-meh 0.51 pyudev 0.24.1 pyxdg 0.27 PyYAML 6.0.1 regex 2023.10.3 requests 2.28.2 requests-file 1.5.1 requests-ftp 0.3.1 rpm 4.19.1 scour 0.38.2 selinux 3.5 sepolicy 3.5 setools 4.4.3 setuptools 67.7.2 simpleaudio 1.0.4 simpleline 1.9.0 six 1.16.0 sos 4.6.0 soupsieve 2.5 speg 0.3 systemd-python 235 Tempita 0.5.2 urllib3 1.26.18 ```
LaTeX details I have installed latex optinal dependencies as described here. [installation instructions](https://docs.manim.community/en/stable/installation/linux.html#optional-dependencies)
FFMPEG Output of `ffmpeg -version`: ``` ffmpeg version 6.0.1 Copyright (c) 2000-2023 the FFmpeg developers built with gcc 13 (GCC) configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' --extra-ldflags='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' --extra-cflags=' -I/usr/include/rav1e' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --enable-chromaprint --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libdav1d --enable-libass --enable-libbluray --enable-libbs2b --enable-libcdio --enable-libdrm --enable-libjack --enable-libjxl --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libmysofa --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-libplacebo --enable-librsvg --enable-librav1e --enable-librubberband --enable-libsmbclient --enable-version3 --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-version3 --enable-vapoursynth --enable-libvpx --enable-vulkan --enable-libshaderc --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libxml2 --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-avfilter --enable-libmodplug --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-lto --enable-libvpl --enable-runtime-cpudetect libavutil 58. 2.100 / 58. 2.100 libavcodec 60. 3.100 / 60. 3.100 libavformat 60. 3.100 / 60. 3.100 libavdevice 60. 1.100 / 60. 1.100 libavfilter 9. 3.100 / 9. 3.100 libswscale 7. 1.100 / 7. 1.100 libswresample 4. 10.100 / 4. 10.100 libpostproc 57. 1.100 / 57. 1.100 ```
T0KAM4K commented 5 months ago

This worked for me:

  1. Install Cairo and Pango: sudo dnf install cairo-devel pango-devel

  2. Python development headers: sudo dnf install python3-devel

  3. FFmpeg is only available via the RPMfusion repository https://rpmfusion.org/Configuration/: sudo dnf install ffmpeg

  4. Install Fedora JPEG Development Libraries: sudo dnf install libjpeg-turbo-devel

  5. Install Manim: pip3 install manim

JasonGrace2282 commented 2 months ago

Closing due to inactivity...