openai gym render on headless serbver code example Example: openai gym how render to work import gym env = gym.make('CartPole-v0') env.reset() env.render()