google-ai-edge / mediapipe

Cross-platform, customizable ML solutions for live and streaming media.

Home Page:https://ai.google.dev/edge/mediapipe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

paulsadofsky opened this issue · 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
             ^

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

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.

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

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