Page 2 of 2

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

Posted: Mon Jun 03, 2024 3:53 pm
by cguillau
Follow up:

If someone accounters the same problem with the library importation, I solved the issue by running those two commands:

Code: Select all

% 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 regarding the macOS version of my mac (11.7.10), which was not compatible with opensim.
I solved it by installing the latest version of macOS (14.5).

This approach worked and Moco is now finally running smoothly on my machine.

Thanks for the support.
Camille