Search found 3 matches

by Camille Guillaume
Mon Jun 03, 2024 3:53 pm
Forum: OpenSim Moco
Topic: Error when using Moco in Python: MocoCasADiSolver is not available
Replies: 10
Views: 2610

Re: Error when using Moco in Python: MocoCasADiSolver is not available

Follow up: If someone accounters the same problem with the library importation, I solved the issue by running those two commands: % export DYLD_LIBRARY_PATH=<install_dir>/sdk/Simbody/lib:$DYLD_LIBRARY_PATH % export DYLD_LIBRARY_PATH=<install_dir>/sdk/lib:$DYLD_LIBRARY_PATH I also got an issue regard...
by Camille Guillaume
Mon Jun 03, 2024 11:56 am
Forum: OpenSim Moco
Topic: Error when using Moco in Python: MocoCasADiSolver is not available
Replies: 10
Views: 2610

Re: Error when using Moco in Python: MocoCasADiSolver is not available

Hi Nick, Thank you for your reply. I managed to install opensim in my x64 Python environment. However, now when I run the script, I get another error when importing opensim. Traceback (most recent call last): File "/Users/camilleguillaume/Documents/MasterThesis/assistive-arm/scripts/assistiveForce_c...
by Camille Guillaume
Fri May 31, 2024 12:09 pm
Forum: OpenSim Moco
Topic: Error when using Moco in Python: MocoCasADiSolver is not available
Replies: 10
Views: 2610

Re: Error when using Moco in Python: MocoCasADiSolver is not available

Hi, I have the same problem as Carlo. I have an Arm64 Mac, and I am trying to run a script on python using Moco. First I created a conda environment with python 3.8, and installed the opensim package using the command line: conda install -c opensim-org opensim I managed to import opensim in the scri...