Apple Sillicon Manim not running 'Import error cairo package' #2062
Unanswered
infinitysush
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have been trying to run Manim script for over a week now, tried almost everything. The stack is as below. Hopefully someone can help.
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 187, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 146, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 110, in _get_module_details
import(pkg_name)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/manim/init.py", line 26, in
from .animation.composition import *
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/manim/animation/composition.py", line 16, in
from ..scene.scene import Scene
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/manim/scene/scene.py", line 38, in
from ..camera.camera import Camera
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/manim/camera/camera.py", line 16, in
import cairo
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/cairo/init.py", line 1, in
from ._cairo import * # noqa: F401,F403
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/cairo/_cairo.cpython-310-darwin.so, 0x0002): symbol not found in flat namespace '_cairo_append_path'
sushrut@Sushruts-MacBook-Air-2 Animantions3b1b % python3 --version
Beta Was this translation helpful? Give feedback.
All reactions