This tutorial is applicable to self built images. If you are using the YAHBOOM version of the image, this tutorial can be ignoredThe environment configuration for this tutorial is shown in the following figure

sudo chmod +x bazelmv bazel /usr/local/bin
Enter the following command: bazel -- version
The results are shown in the figure:

xxxxxxxxxxpip3 install opencv-contrib-python==3.4.18.65pip3 install mediapipe-0.8-cp36-cp36m-linux_aarch64.whlpip3 uninstall opencv-contrib-python #Because Jetson Nano B01 already comes with it
xpython3import mediapipe as mp
If there are no errors reported, it indicates successful installation
