I try to run this code
Code: Select all
import opensim as osim
model = osim.Model("model.osim")
cmcTool = osim.CMCTool("CMC_Setup.xml")
cmcTool.setModel(model)
cmcTool.run()
I get this error
Code: Select all
Traceback (most recent call last):
File "script_directory\CMC_Run.py", line 1, in <module>
import opensim as osim
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\opensim\__init__.py", line 9, in <module>
from .simbody import *
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\opensim\simbody.py", line 13, in <module>
from . import _simbody
ImportError: DLL load failed while importing _simbody: The specified module could not be found.