I opened a command window and ran the following:
Code: Select all
cd "C:\OpenSim 4.4\sdk\Python
python -m pip install .
When I then try to run
Code: Select all
import opensim
Code: Select all
Traceback (most recent call last):
File "C:\Users\npires.OMG\OneDrive - OMG PLC\Work Projects\Codes\recover-video-transfer-list\recover_video_transfer_list.py", line 6, in <module>
import opensim
File "C:\ProgramData\Anaconda3\lib\opensim\__init__.py", line 6, in <module>
from .simbody import *
File "C:\ProgramData\Anaconda3\lib\opensim\simbody.py", line 13, in <module>
from . import _simbody
ImportError: DLL load failed while importing _simbody: The specified module could not be found.
I have added the OpenSim 4.4/bin folder to the environment variables
Not sure why it's failing to import the opensim module as by all indications, it's been installed correctly.
Thanks!