3b1b / manim

Animation engine for explanatory math videos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The dependency package version is faulty

Lucas04-nhr opened this issue · comments

Describe the bug

The default pillow package installed automatically when installing mainm can't correctly handle the output.

Code:

Wrong display or Error traceback:

Traceback (most recent call last):
  File "/Users/lucas/miniconda3/envs/DrawingPlot/bin/manim", line 5, in <module>
    from manim.__main__ import main
  File "/Users/lucas/miniconda3/envs/DrawingPlot/lib/python3.12/site-packages/manim/__init__.py", line 17, in <module>
    from ._config import *
  File "/Users/lucas/miniconda3/envs/DrawingPlot/lib/python3.12/site-packages/manim/_config/__init__.py", line 10, in <module>
    from .utils import ManimConfig, ManimFrame, make_config_parser
  File "/Users/lucas/miniconda3/envs/DrawingPlot/lib/python3.12/site-packages/manim/_config/utils.py", line 28, in <module>
    from .. import constants
  File "/Users/lucas/miniconda3/envs/DrawingPlot/lib/python3.12/site-packages/manim/constants.py", line 11, in <module>
    from PIL.Image import Resampling
  File "/Users/lucas/miniconda3/envs/DrawingPlot/lib/python3.12/site-packages/PIL/Image.py", line 103, in <module>
    from . import _imaging as core
ImportError: dlopen(/Users/lucas/miniconda3/envs/DrawingPlot/lib/python3.12/site-packages/PIL/_imaging.cpython-312-darwin.so, 0x0002): symbol not found in flat namespace '_opj_encoder_set_extra_options'

Additional context

I run my code on macOS 14.4.1 , when I uninstall the package pillow and install the newest one, the interpreter can be run normally.