You are on page 1of 1

The error ModuleNotFoundError: No module named

'mediapipe.python._framework_bindings' means that the Python module


mediapipe.python._framework_bindings could not be found. This can
happen for a few reasons:

● The module is not installed.


● The module is installed in a different directory than your Python
interpreter is looking for it.
● There is a typo in the name of the module.

To resolve this error, you can try the following:

1. Make sure that the mediapipe module is installed. You can do this by
running the following command in your terminal:

Code snippet
pip install mediapipe

2. If the module is installed, make sure that your Python interpreter is


looking in the correct directory for it. You can do this by setting the
PYTHONPATH environment variable to the directory where the mediapipe
module is installed. For example, if the mediapipe module is installed
in the /usr/local/lib/python3.8/site-packages directory, you
would set the PYTHONPATH environment variable to
/usr/local/lib/python3.8/site-packages.

Code snippet
export PYTHONPATH=/usr/local/lib/python3.8/site-packages

3. If the module is installed and the PYTHONPATH environment variable is


set correctly, then there is probably a typo in the name of the module.
Make sure that you are importing the module correctly. For example,
the following code should work:

Code snippet
import mediapipe.python._framework_bindings

If you are still getting the error, then you can try searching for help online or
contacting the developers of the mediapipe module for support.

You might also like