OpenSim Mac M1

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Mazen Al Borno
Posts: 10
Joined: Fri Jan 27, 2023 2:19 pm

OpenSim Mac M1

Post by Mazen Al Borno » Sat Sep 16, 2023 7:56 am

Hi all,

Tried installing OpenSim on my M1 mac using the conda environment, Here are the exact steps I took:

-Opened a terminal on x86_64.
-sudo conda create -n opensimEnv python=3.9
-conda activate opensimEnv
-sudo conda install -c opensim-org opensim

After opening python and importing opensim, I get this error:
ImportError: dlopen(..._simbody.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e'))

Please let me know if you have ideas on how to fix this. Thanks.

User avatar
Mazen Al Borno
Posts: 10
Joined: Fri Jan 27, 2023 2:19 pm

Re: OpenSim Mac M1

Post by Mazen Al Borno » Thu Nov 09, 2023 12:32 pm

I just tried this again on Mac. Just in case it helps someone else: It worked for me when I made sure that the python version that I used (3.11) was the same as the one that downloaded the files with conda.

POST REPLY