CMake error upon installation on MacOS #1231
Unanswered
maxholsman
asked this question in
Asking for Help
Replies: 1 comment
-
Are you intentionally building from source, or just If the latter, it could be an instance of #1213, which should be resolved with the release we just pushed, 3.1.0. Let us know how it goes. In the future, please post issues, since we monitor those more than we do discussions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I am trying to install mujoco on my Mac and keep getting the following error when running 'pip install mujoco' or 'pip install 'gymnasium[mujoco]'. The full error is copied after this post.
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '-j16', '--config', 'Release']' returned non-zero exit status 2.
Interestingly, when I run pip install mujoco outside of a conda environment, I don't seem to get any errors, however I am still unable to run python scripts that use mujoco directly or through gymnasium. Any idea on how to solve this issue?
(the entire output is obviously much longer - I have only copied the last lines close to the error)
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for mujoco
Failed to build mujoco
ERROR: Could not build wheels for mujoco, which is required to install pyproject.toml-based projects
Beta Was this translation helpful? Give feedback.
All reactions