Skip to content

Installing gym[mujoco] for the torchRL tutorial on Google Colab #3133

@anirjoshi

Description

@anirjoshi

I am going through a tutorial here. It looks like gym[mujoco] is depreciated, and I get the following output on Google Colab on executing !pip3 install gym[mujoco]:

Building wheels for collected packages: mujoco
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  Building wheel for mujoco (setup.py) ... error
  ERROR: Failed building wheel for mujoco
  Running setup.py clean for mujoco
Failed to build mujoco
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (mujoco)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions