-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
free-mujoco-py
on PyPi with included binaries
#1
Conversation
download_mujoco.sh
Outdated
&& rm mujoco.tar.gz | ||
|
||
mkdir -p mujoco_py/binaries/windows \ | ||
&& wget https://mujoco.org/download/mujoco210-windows-x86_64.zip -O mujoco.tar.gz \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Windows file is zip rather than tar.gz.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the catch! Just fixed. I will see if I can make the build work on macos
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Windows support has been DEPRECATED and removed in 2.0.2.0" according to mujoco-py readme...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I don’t have a convenient way to test it out on windows and intel mac…
I did a quick investigation into the macos build using my m1 mac mini. A couple thing is I needed to install gcc@7 using the rosetta 2 shell (openai#601).
I ended up getting this error similar to openai#605. But maybe this is gonna work for intel macs. In any case, probably waiting for upstream changes (google-deepmind/mujoco#2)
|
… into include-binaries
Apologies I didn't get to review this change - I didn't think mujoco-py were going to accept my PR. I guess you could send this directly to the mujoco-py project. |
To help with the transition and offer alternatives, I have made a temporary mujoco-py release named
free-mujoco-py
on PyPi using @nimrod-gileadi's PR (see openai#640) that leverages the new free MuJoCo binaries. Try executingThe source code is at #1. For convenience, the release automatically includes the MuJoCo binaries so there's no need to download it. At this point, it should only work with Linux, but could work out-of-the-box for Mac and maybe windows, I just don't have the machines to test it out.