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