Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errno 2 Help #1919

Open
zunzun08 opened this issue Nov 26, 2022 · 0 comments
Open

Errno 2 Help #1919

zunzun08 opened this issue Nov 26, 2022 · 0 comments

Comments

@zunzun08
Copy link

Describe the error

Hello, I've been trying to install Manim, but I keep running into the same errors. I've followed the instructions like how they were laid out, but I can't open up any of the example scenes. I'm running Mac OS Ventura on an m1 pro . Anyways, this is what I get when input .

Error
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/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)
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/manimpango/init.py", line 14, in
from .cmanimpango import * # noqa: F403,F401
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/manimpango/cmanimpango.cpython-310-darwin.so, 0x0002): Library not loaded: /opt/homebrew/opt/pango/lib/libpangocairo-1.0.0.dylib
Referenced from: /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/manimpango/cmanimpango.cpython-310-darwin.so
Reason: tried: '/opt/homebrew/opt/pango/lib/libpangocairo-1.0.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/pango/lib/libpangocairo-1.0.0.dylib' (no such file), '/opt/homebrew/opt/pango/lib/libpangocairo-1.0.0.dylib' (no such file), '/usr/lib/libpangocairo-1.0.0.dylib' (no such file, not in dyld cache)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/bin/manim", line 5, in
from manim.main import main
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/manim/init.py", line 76, in
from .mobject.table import *
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/manim/mobject/table.py", line 77, in
from manim.mobject.text.text_mobject import Paragraph
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/manim/mobject/text/text_mobject.py", line 64, in
import manimpango
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/manimpango/init.py", line 35, in
raise ImportError(msg)
ImportError:

ManimPango could not import and load the necessary shared libraries.
This error may occur when ManimPango and its dependencies are improperly set up.
Please make sure the following versions are what you expect:

* ManimPango v0.4.2, Python v3.10.7

If you believe there is a greater problem,
feel free to contact us or create an issue on GitHub:

* Discord: https://www.manim.community/discord/
* GitHub: https://github.com/ManimCommunity/ManimPango/issues

Original error: dlopen(/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/manimpango/cmanimpango.cpython-310-darwin.so, 0x0002): Library not loaded: /opt/homebrew/opt/pango/lib/libpangocairo-1.0.0.dylib
Referenced from: /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/manimpango/cmanimpango.cpython-310-darwin.so
Reason: tried: '/opt/homebrew/opt/pango/lib/libpangocairo-1.0.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/pango/lib/libpangocairo-1.0.0.dylib' (no such file), '/opt/homebrew/opt/pango/lib/libpangocairo-1.0.0.dylib' (no such file), '/usr/lib/libpangocairo-1.0.0.dylib' (no such file, not in dyld cache)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant