openai / mujoco-py

MuJoCo is a physics engine for detailed, efficient rigid body simulations with contacts. mujoco-py allows using MuJoCo from Python 3.
Other
2.86k stars 816 forks source link

Cannot install MuJoCo due to gcc error #565

Open goodnamegood opened 4 years ago

goodnamegood commented 4 years ago

Describe the bug I follow the instructions to install MuJoCo_py but got the gcc compiling error. I guess it might be due to gcc version problem but changing versions does not help at all.

Error Messages gcc: error: unrecognized command line option ‘-R’

Desktop (please complete the following information):

Environment

sunghochoi122 commented 4 years ago

The same problem for me (Ubuntu 16.04/18.04, Python 3.6, Mujoco 200, mujoco-py 2.0), and pip install mujoco-py==2.0.2.8 worked.

Reference: #492