cansik / realsense-pose-detector

A simple pose detector which runs with the realsense framework.
MIT License
17 stars 0 forks source link

macos-catalina stuck on building wheel for opencv-contrib #1

Open spindlewhorls opened 5 months ago

spindlewhorls commented 5 months ago

Hi there.

I’m on MacOS Catalina and I’m trying to install the pose detector git - thank you so much for providing it!

The problem is when I try to pip install mediapipe it gets stuck at:

building wheel for opencv-contrib-python(pyproject.toml)

also a window pops up:

to use the java command-line tool you need to install a JDK from java developer kit download website

I use Anaconda virtual environment with Python 3.10.0 on Macbook Pro(Retina, 13-Inch, Late 2013)(Intel)


I already tried some commands that people recommend as a solution to similar cases online: -pip install --upgrade opencv-python -python3 -m pip install opencv-python==4.6.0.66 --verbose -pip install --upgrade opencv-contrib-python

none of them completes, they all get stuck at: ‘building wheel for opencv-contrib-python (pyproject.toml)’

I also installed a JDK because it looked it could be related but still the same, just without the java window popping up.

I'm using Catalina because I can’t get the RealSense SDK to install nor the camera to be detected in newer versions of macOS. I'm not sure i it's Catalina related. I only didn’t try Big Sur yet.

any help would be greatly appreciated, thank you!!

spindlewhorls commented 5 months ago

for anyone facing this, it worked with:

-python3 -m pip install mediapipe==0.9.1.0 --verbose

(might take hours but succeeds)