Skip to content
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 is not available now? #787

Open
jiho314 opened this issue Feb 3, 2024 · 3 comments
Open

mujoco-py is not available now? #787

jiho314 opened this issue Feb 3, 2024 · 3 comments

Comments

@jiho314
Copy link

jiho314 commented Feb 3, 2024

I tried everything but below code brings various errors.
Is mujoco-py unavailable now due to the new mujoco 3.0?

from mujoco_py import load_model_from_path

error1 : fixed by downgrading cython

Cython.Compiler.Errors.CompileError: /home/qkrwlgh0314/miniconda3/envs/uhc-new/lib/python3.8/site-packages/mujoco_py/cymj.pyx

error2:
i've tried various gcc versions but failed to fix the error

    spawn(cmd, dry_run=self.dry_run, **kwargs)
  File "/home/qkrwlgh0314/miniconda3/envs/uhc2/lib/python3.8/site-packages/setuptools/_distutils/spawn.py", line 70, in spawn
    raise DistutilsExecError(
distutils.errors.DistutilsExecError: command '/opt/ohpc/pub/compiler/gcc/8.3.0/bin/gcc' failed with exit code 1

@Hoeng317
Copy link

What cython version did you downgrade to?

@akharedeepak
Copy link

@jiho314 Did you solve it?

I am facing the same issue.

@jiho314
Copy link
Author

jiho314 commented Jul 8, 2024

I somehow fixed the error by following the install guidance from each git repository.
I remember that 'pip install "cython<3”' and adding environment variables was necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants