-
Notifications
You must be signed in to change notification settings - Fork 810
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
Mujoco_py support for latest GCC compiler #254
Comments
same issue |
Same issue. Any known solutions? |
snap |
I solved it by copying out the error commands and manually forcing it to use another gcc 7 compiler. However, it would be great if we can have gcc 8 support, thanks! |
Another work around on OSX is to use brew to install another version of GCC
This worked for me with other versions installed as well. Note gcc@7 did not work immediately so I went with 6. |
Another solution works very well with macOS: brew install gcc@6 pip uninstall mujoco_py it will help you get the correct directory of gcc7 or gcc6 when you first import mujoco_py cause it writes the .so files for you when you import mujoco_py the first time |
To add support for gcc 8 change this line to c_compilers = ['/usr/local/bin/gcc-6', '/usr/local/bin/gcc-7','/usr/local/bin/gcc-8'] |
At @arpit15 , what were the steps you took after adding gcc-8 to c_compilers? I still get the error:
Seems like I need to do something (like a compile) after saving that change. |
brew install gcc@6 pip uninstall mujoco_py Did not work for me, any suggestions please? I get the following error: |
Also tried to set the compilers to gcc-8 |
Merged a fix to this, latest mujoco-py works with latest homebrew GCC! |
Great! Thanks a lot!! |
Hi, I am getting this error: |
Hi, |
It worked once I installed the pkg mentioned here: |
It's August 2019. Had this issue with gcc-9 brew install gcc@8 worked for me |
this works for me, gcc9 |
same issue gcc 9 |
Using gcc 8 seems to have resolved this issue for me. |
Another workaround (perhaps most the easiest solution) is to use
|
In mujoco_py/builder.py line 302, in _build_impl 'Could not find GCC 6 or GCC 7 executable.\n\n'
RuntimeError: Could not find GCC 6 or GCC 7 executable.
Since I've updated my gcc to 8.1.0.
The text was updated successfully, but these errors were encountered: