If you don't have a full installation of OpenAI Gym, you can install the classic_control and mujoco environment dependencies as follows:
pip install gym[classic_control]pip install gym[mujoco]
MuJoCo is not open source, so you'll have to follow the instructions in mujoco-py (available at https://github.com/openai/mujoco-py#obtaining-the-binaries-and-license-key) to set it up. After the classic control environment is installed, try the following commands:
import gymatari = gym.make('Acrobot-v1')atari.reset()atari.render()
If it runs successfully, a small window will pop up, showing the screen of the Acrobot task:
Besides Acrobot, ...