Mujoco-py: Cannot install MuJoCo due to gcc error

Created on 2 Sep 2020  Â·  1Comment  Â·  Source: openai/mujoco-py

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):

  • OS: [e.g. macOS 10.13.6] Ubuntu 16.04
  • Python Version [e.g. 3.6.6] 3.6.10
  • Mujoco Version [e.g. 1.50] 200
  • mujoco-py version [e.g. 1.50.1.59] 2.0

Environment

  • output of: 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/bin
  • output of: echo $HOME: /home/ubuntu
  • output of: echo $USER:ubuntu

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.8 worked.

Reference: #492

>All comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

abhigenie92 picture abhigenie92  Â·  5Comments

jjkke88 picture jjkke88  Â·  6Comments

matwilso picture matwilso  Â·  3Comments

henrycharlesworth picture henrycharlesworth  Â·  5Comments

bebbo203 picture bebbo203  Â·  3Comments