DLL load failed while importing _simbody: The specified module could not be found
Posted: Fri Apr 07, 2023 4:17 pm
I'm following the instructions found here: https://simtk-confluence.stanford.edu:8 ... +in+Python
I opened a command window and ran the following:
Everything seems that it runs correctly.
When I then try to run
it fails and I get the error:
I'm running Windows 11, OpenSim 4.4 and Python 3.10.9 packaged by Anaconda.
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!
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!