Loading...
X

Error “ModuleNotFoundError: No module named 'manimpango'” (SOLVED)

When starting one of the programs the following error occurred:

Traceback (most recent call last):
  File "/usr/bin/emote", line 33, in <module>
    sys.exit(load_entry_point('Emote==0.0.0', 'gui_scripts', 'emote')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/emote", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1128, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.11/site-packages/emote/__init__.py", line 6, in <module>
    import manimpango
ModuleNotFoundError: No module named 'manimpango'

The line “python3” tells us that the crashed application is a program written in Python.

Of all this data, you need to pay attention to the last line:

ModuleNotFoundError: No module named 'manimpango'

That is, the reason for the error is that a module named manimpango was not found.

This module is provided by the Python package, which can be installed from your distribution's standard repositories, or using the Python package manager pip.

How to fix “ModuleNotFoundError: No module named 'manimpango'” error in Arch Linux, Manjaro, BlackArch

On Arch Linux and derivatives, the python-manimpango module is present in the AUR, so use the pikaur package manager to install it. For details, see the article “Automatic installation and update of AUR packages”.

On my system, the python-manimpango package was already installed, but the error “ModuleNotFoundError: No module named 'manimpango'” still occurred.

To correct the situation, reinstalling the package helped. You can install or reinstall the package on python-manimpango Arch Linux, Manjaro, BlackArch and derivative distributions with the command:

pikaur -S python-manimpango

How to fix “ModuleNotFoundError: No module named 'manimpango'” error in Debian, Linux Mint, Ubuntu, Kali Linux

In Debian and derivative distributions, this package is also present in the standard repositories, but has a slightly different name. To install it, run the following commands:

sudo apt update
sudo apt install python3-manimpango

Which package should I install using pip3 when I get the error “ModuleNotFoundError: No module named 'manimpango'”

If you prefer to use the pip3 package manager, install the ManimPango package with the following command to fix this error:

sudo pip3 install ManimPango

Leave Your Observation

Your email address will not be published. Required fields are marked *