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

ManimPango could not import and load the necessary shared libraries. #116

Open
shubhampalgkp14 opened this issue Jan 28, 2025 · 0 comments

Comments

@shubhampalgkp14
Copy link

I am just writing the basic code of Manim and getting this error.

from manim import *
class CreateCircle(Scene):
def construct(self):
circle = Circle() # create a circle
circle.set_fill(PINK, opacity=0.5) # set the color and transparency
self.play(Create(circle)) # show the circle on screen

ERROR:

File "/home/shubham-pal/anaconda3/envs/manim_env/lib/python3.11/site-packages/manimpango/init.py", line 14, in
from .register_font import * # isort:skip # noqa: F403,F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/shubham-pal/anaconda3/envs/manim_env/lib/python3.11/site-packages/manimpango/register_font.py", line 6, in
from ._register_font import (
ImportError: /lib/x86_64-linux-gnu/libgobject-2.0.so.0: undefined symbol: ffi_type_uint32, version LIBFFI_BASE_7.0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/shubham-pal/anaconda3/envs/manim_env/bin/manim", line 5, in
from manim.main import main
File "/home/shubham-pal/anaconda3/envs/manim_env/lib/python3.11/site-packages/manim/init.py", line 29, in
from .animation.numbers import *
File "/home/shubham-pal/anaconda3/envs/manim_env/lib/python3.11/site-packages/manim/animation/numbers.py", line 10, in
from manim.mobject.text.numbers import DecimalNumber
File "/home/shubham-pal/anaconda3/envs/manim_env/lib/python3.11/site-packages/manim/mobject/text/numbers.py", line 16, in
from manim.mobject.text.text_mobject import Text
File "/home/shubham-pal/anaconda3/envs/manim_env/lib/python3.11/site-packages/manim/mobject/text/text_mobject.py", line 65, in
import manimpango
File "/home/shubham-pal/anaconda3/envs/manim_env/lib/python3.11/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.6.0, Python v3.11.11

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: /lib/x86_64-linux-gnu/libgobject-2.0.so.0: undefined symbol: ffi_type_uint32, version LIBFFI_BASE_7.0

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