can not import ProstheticsEnv

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Himanshu Pareek
Posts: 1
Joined: Mon Aug 17, 2020 9:48 am

can not import ProstheticsEnv

Post by Himanshu Pareek » Tue Aug 18, 2020 10:29 am

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

Tags:

User avatar
Deepali Salwan
Posts: 1
Joined: Sun Aug 16, 2020 9:32 am

Re: can not import ProstheticsEnv

Post by Deepali Salwan » Wed Aug 19, 2020 2:26 am

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'
Last edited by Deepali Salwan on Wed Aug 19, 2020 2:32 am, edited 1 time in total.

POST REPLY