CMU-Perceptual-Computing-Lab / openpose

OpenPose: Real-time multi-person keypoint detection library for body, face, hands, and foot estimation
https://cmu-perceptual-computing-lab.github.io/openpose
Other
30.66k stars 7.82k forks source link

Installation error: incompatible architecture (have (arm64), need (x86_64) #2142

Open zelvet-velvet opened 1 year ago

zelvet-velvet commented 1 year ago

I have successfully compiled with command make -j`sysctl -n hw.logicalcpu`. When I want to execute python sample api from openpose/build/examples/tutorial_api_python there's an error _(mach-o file, but is an incompatible architecture (have (arm64), need (x8664))) tho.

I think the problem is my pyopenpose.cpython-39-darwin.so file's architecture is wrong. My labtop is Macbook air with M2 chip. Should I change the setting of CMake Configuration or something else to make my pyopenpose type compiled in a proper way? Any suggestions? Thanks.

Executed Command: python3 01_body_from_image.py

Console output : LINK

OpenPose version: Latest GitHub code

3rd-party software:

Python :

GluckHuang commented 1 year ago

+1 the same problem

jacky68147527 commented 9 months ago

+1

kimkh415 commented 8 months ago

+1