Page 1 of 1

can not import ProstheticsEnv

Posted: Tue Aug 18, 2020 10:29 am
by hilly17in
I followed the instructions to install osim-rl on my windows machine.
I can get osim-rl and import osim and osim.env is also present

BUT, I can not locate ProstheticsEnv

>>> dir(osim.env)
['Arm2DEnv', 'Arm2DVecEnv', 'L2M2019Env', 'OsimEnv', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', 'absolute_import', 'arm', 'convert_to_gym', 'gym', 'math', 'np', 'opensim', 'os', 'osim', 'random', 'utils']

Please help on this..
Thanks

Re: can not import ProstheticsEnv

Posted: Wed Aug 19, 2020 2:26 am
by deepalisalwan
Hi,

I am facing the same issue with ProstheticsEnv

The error I am getting is :

from osim.env import ProstheticsEnv
Traceback (most recent call last):

File "<ipython-input-9-e9a8a6e76a0a>", line 1, in <module>
from osim.env import ProstheticsEnv

ImportError: cannot import name 'ProstheticsEnv'