Skip to content

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

@shubhampalgkp14

Description

@shubhampalgkp14

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions