osim-rl: python crashed when running "ProstheticsEnv(visualize=True)"

I have finished all steps in tutorial to set the anaconda environment. My system is windows. When running ProstheticsEnv(visualize=True) python will crash, although running visualize = False it won’t, What’s wrong???

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 15 (9 by maintainers)

Most upvoted comments

I have met this problem and I got it solved in a strange way. I run this example script in Windows 10:

from osim.env import ProstheticsEnv

env = ProstheticsEnv(visualize=True)
observation = env.reset()
for i in range(200):
    observation, reward, done, info = env.step(env.action_space.sample())

When I run this in C:\ (to be exact, C:\Users\username), python suddenly crashes without any traceback. However, when I run this in D:\ , everything seems ok. And when I run D:\example.py in C:\ , it crashes in the same way. My anaconda is installed in D:\anaconda3.

I don’t know why this happened but maybe it can help you.