mediapipe icon indicating copy to clipboard operation
mediapipe copied to clipboard

Mediapipe Install on NVIDIA Jetson Orin Nano Error: Invalid requirement: 'mediapipe==dev'

Open paulsadofsky opened this issue 1 year ago • 1 comments

OS Platform and Distribution

Ubuntu 22.04

Compiler version

No response

Programming Language and version

Python 3.8 / 3.10

Installed using virtualenv? pip? Conda?(if python)

Built from source, generating Python wheel and attempt to pip install wheel

MediaPipe version

0.8.11

Bazel version

Bazelisk v1.8.1

XCode and Tulsi versions (if iOS)

No response

Android SDK and NDK versions (if android)

No response

Android AAR (if android)

None

OpenCV version (if running on desktop)

4.9.0

Describe the problem

I attempted to build the Mediapipe package for ARM64 Linux by following the following walkthrough (https://www.forecr.io/blogs/ai-algorithms/how-to-download-build-mediapipe-on-nvidia-jetson-xavier-nx), which worked on Jetpack 5.1.3. This, however, only let me use the CPU as delegate with TFLite and I wanted to try on Jetpack 6.0.2. The wheels compile but the installation of the wheel fails with this very short error.

Complete Logs

idealab@ubuntu:~/mediapipe/dist$ python3 -m pip install mediapipe-dev-cp38-cp38-linux_aarch64.whl
ERROR: Invalid requirement: 'mediapipe==dev': Expected end or semicolon (after name and no valid version specifier)
    mediapipe==dev
             ^

paulsadofsky avatar Jun 25 '24 14:06 paulsadofsky

Hi @paulsadofsky,

Regrettably, We currently do not offer official support for the Nvidia Jetson Development Kit, encompassing both CPU and GPU functionalities. The sole endorsed edge device is the Raspberry Pi 64-bit, as outlined in our documentation.

For now, you may leverage the community-developed plugin accessible at https://github.com/anion0278/mediapipe-jetson, which includes GPU support as well and reasonably up-to-date. It's important to note that the implementation is based on version 0.8.9.

Thank you!!

kuaashish avatar Jun 26 '24 08:06 kuaashish

This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.

github-actions[bot] avatar Jul 04 '24 01:07 github-actions[bot]

This issue was closed due to lack of activity after being marked stale for past 7 days.

github-actions[bot] avatar Jul 11 '24 01:07 github-actions[bot]

Are you satisfied with the resolution of your issue? Yes No

google-ml-butler[bot] avatar Jul 11 '24 01:07 google-ml-butler[bot]