mach-o file incompatible architecture error in sconepy

SCONE is a software tool for predictive simulations of biomechanical movement. It uses OpenSim for modeling and simulation, and performs optimization using various control strategies, including feed-forward control, proprioceptic feedback control, and bal
POST REPLY
User avatar
Ali Forouzanfar
Posts: 28
Joined: Thu Dec 15, 2022 11:21 pm

mach-o file incompatible architecture error in sconepy

Post by Ali Forouzanfar » Mon Mar 25, 2024 1:48 am

Hi,

I'm attempting to use the sconepy but I'm encountering a "mach-o file, but is an incompatible architecture" error. The specific message is:

(mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))

Here's a bit more context about my setup:

Operating System: [ macOS ]
Processor Architecture: [Apple M1(arm64)]
sconepy Installation Method: [ conda, python 3.9]

Has anyone else experienced this issue? Is there an updated version of sconepy available that's specifically compiled for arm64 architectures? If not, are there recommended workarounds to get sconepy working on my system?

Any help or suggestions would be greatly appreciated!

User avatar
Thomas Geijtenbeek
Posts: 432
Joined: Wed Mar 12, 2014 8:08 am

Re: mach-o file incompatible architecture error in sconepy

Post by Thomas Geijtenbeek » Mon Mar 25, 2024 6:44 am

SCONE for macOS is indeed compiled for the x86_64 architecture. When running SCONE Studio on M1 macs, this seems to work just fine, but with SconePy / Python apparently not.

Perhaps it's possible to switch to a different architecture for Python on macOS? Unfortunately, I have no experience with that, nor do I have an Apple Silicon mac to experiment with.

Any help would be greatly appreciated!

User avatar
Ali Forouzanfar
Posts: 28
Joined: Thu Dec 15, 2022 11:21 pm

Re: mach-o file incompatible architecture error in sconepy

Post by Ali Forouzanfar » Mon Mar 25, 2024 8:25 am

Thank you for your answer. I tried using SconePy on another platform, and it worked fine.

POST REPLY