EDIT: This thread has been resolved. I simply did not understand that py scripts run outside of the GUI act differently from those run within the GUI. For those having the same issue, the script will run properly if ran in the OpenSim GUI's scripting shell window, where it has access to the correct modules.
Hi,
I am attempting to use the existing .py files provided in the OpenSim4.1 resources (for example, "RunMultipleIKTrials"). I have followed all of the instruction on setting up the python scripting environment (and have verified that "import opensim" runs successfully in Spyder). However, many of the resource scripts seem to use
import org.opensim.utils as utils
*Which returns the error*
ModuleNotFoundError: No module named 'org'
Is there an additional process I need to perform to import the utils module for use in inverse kinematics/dynamics? As per the tags, I am using OpenSim4.1 and Python 3.7 with 64bit Anaconda and PATH environments set correctly. Thank you for any and all information.