google-ai-edge / mediapipe

Cross-platform, customizable ML solutions for live and streaming media.
https://ai.google.dev/edge/mediapipe
Apache License 2.0
26.92k stars 5.1k forks source link

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

Closed paulsadofsky closed 2 months ago

paulsadofsky commented 3 months ago

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
             ^
kuaashish commented 3 months ago

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!!

github-actions[bot] commented 2 months ago

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] commented 2 months ago

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

google-ml-butler[bot] commented 2 months ago

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