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
Command line tools and gcc errors during installation on macOS Catalina #465
Comments
Bump. I'm having same issues (seeing the same errors when trying to build Mujoco 2.00 on Catalina). Thanks @RyanRizzo96 for doing all the legwork for reporting this so far. |
Have you seen issue #463? |
Million thanks @matthiasplappert! This closes this issue and all the related issues with MacOS Catalina created by @RyanRizzo96 |
Same problem. I used Python 3.6.6, mujoco-py 2.0.2.9, mujoco200, gcc 8.2 and my MuJoCo-py was installed by source. When I imported mujoco_py, I get the same error. However, after I updated gcc to 9.2.0, it disappeared. The following settings worked for me. OS: [MacOS Catallina 10.15.2] |
I have the same problem with gcc 9.3.0 :( Help! Configuration:OS: [MacOS Catallina 10.15.3] Trace:
.
.
|
@piojanu any updates ? I have the same issue |
@ahmarz I just gave up. |
@ahmarz I found a solution. Simply remove gcc (I couldn't make it work, I couldn't downgrade to some working version, I simply gave up with it, for your sanity health delete it) and follow this WA. Step by step (based on WA from the link):
Voilà! |
@NULL-id I used Anaconda with Python 3.7.7. Moreover, I don't think these warnings from the issue are a problem. I see them too and I'm still able to use MuJoCo OpenAI Gym environments. See my ipython session example:
|
Thanks @piojanu . I just realized that my real problem was using a wrong license file. Now it's OK! |
@piojanu Your solution appears to be working on MacOS 10.15.7 with python 3.7.3 in virtual environment && pip 20.3.3 No other solutions I've found have worked. I do not know why but I think uninstalling all versions of gcc several times was the missing step that prevented your strategy from working the first time. |
Describe the bug
Command Line tools and gcc are giving a multitude of errors when trying to install MuJoCo. It seems like the python library was developed against a different set of headers and the python library‘s C extension is outdated.
To Reproduce
pip3 install 'mujoco-py<2.1,>=2.0' on Catalina
Expected behavior
Installs successfully.
Error Messages
.
.
.
.
.
.
.
.
.
.
.
.
Desktop (please complete the following information):
I am completely unable to use mujoco-py on macOS Catalina. Any help would be very appreciated.
Similar stack overflow questions:
https://apple.stackexchange.com/questions/372311/macos-catalina-command-line-tools-and-gcc-errors-during-installation
The answer here states:
The text was updated successfully, but these errors were encountered: