-
Notifications
You must be signed in to change notification settings - Fork 2
Description
I tried to follow the full installation steps, but the nature of the error thrown leads me to the assumption that I did something incorrectly.
The Steps I Took
I will list the steps and what I did on each, as the operations I performed may differ from the intended ones.
OS: Windows 11 23H2, 64-bit
Blender 3.6 LTS, Miniconda 3, .zip downloaded from link in instructions
'3.10.13 (main, Oct 10 2023, 08:34:31) [MSC v.1928 64 bit (AMD64)]'
'C:\Users\my_name\miniconda3\envs\Pose2Sim_Blender'
attempting to install packages again yielded "# All requested packages already installed."
"conda list | grep opensim" doesn't run, so I used numpy 1.23 as in the example text
"pip install bpy toml vtk anytree" yielded "no matching distribution found for bpy", so ran "pip install toml vtk anytree" instead
from innit
Line 4: curFolder = os.path.dirname(os.path.realpath(r"C:\OpenSim 4.5\bin"))
I have the OpenSim4.5 app installed, so this is correct
This one was a little complicated because the UNIX commands didn't work in my Win11 cmd, but I think I did this right
Renamed …\Blender3.6\3.6\python to python_old
Linked …\miniconda\envs\Pose2Sim_Blender into …\Blender3.6\3.6\ under the name "python", and it works properly
Within …\miniconda\envs\Pose2Sim_Blender,
DLLs is linked to Blender 3.6's python_old DLLs folder
bin is linked to Blender 3.6's python_old bin folder
I don't know if this is important to note, but I loaded the addon into Blender 3.6 prior to following the steps detailed above.
The Error Thrown
Loading my .osim file works file
The following error throws upon loading .mot IK results
Python: Traceback (most recent call last):
File "C:\Users\my_name\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\Pose2Sim_Blender\Pose2Sim_Blender\motion.py", line 85, in apply_mot_to_model
import opensim as osim
File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\python\lib\opensim_init_.py", line 19, in
from .simbody import *
File "C:\Program Files\Blender Foundation\Blender 3.6\3.6\python\lib\opensim\simbody.py", line 10, in
from . import _simbody
ImportError: DLL load failed while importing _simbody: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\my_name\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\Pose2Sim_Blender_init_.py", line 338, in execute
motion.apply_mot_to_model(mot_path, osim_path, direction='zup', target_framerate=self.target_framerate)
File "C:\Users\my_name\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\Pose2Sim_Blender\Pose2Sim_Blender\motion.py", line 88, in apply_mot_to_model
raise('OpenSim API required: Please proceed to Pose2Sim_Blender full install.')
TypeError: exceptions must derive from BaseException