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
echo $LD_LIBRARY_PATH: /usr/lib64/openmpi/lib/:/usr/local/cuda/lib64:/usr/local/lib:/usr/lib:/usr/local/cuda/extras/CUPTI/lib64:/usr/local/mpi/lib:/lib/:/usr/local/cuda/lib64:/usr/local/lib:/usr/lib:/usr/local/cuda/extras/CUPTI/lib64:/opt/amazon/openmpi/lib:/usr/local/cuda/lib:/opt/amazon/efa/lib:/usr/local/mpi/lib:/usr/lib64/openmpi/lib/:/usr/local/cuda/lib64:/usr/local/lib:/usr/lib:/usr/local/cuda/extras/CUPTI/lib64:/usr/local/mpi/lib:/lib/::/home/ubuntu/.mujoco/mujoco200/binecho $HOME: /home/ubuntuecho $USER:ubuntuThe 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
Most helpful comment
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.8worked.Reference: #492