PKU-Alignment / safety-gymnasium

NeurIPS 2023: Safety-Gymnasium: A Unified Safe Reinforcement Learning Benchmark
https://safety-gymnasium.readthedocs.io/en/latest/
Apache License 2.0
369 stars 52 forks source link

Unable to run the package. #119

Closed jamesarambam closed 1 month ago

jamesarambam commented 1 month ago

Required prerequisites

Questions

Hi, I am running apple mac M2, Sonoma 14.0, Mujoco 2.3.3

I am getting this error message.

Error: "gymnasium.error.DependencyNotInstalled: You are running an x86_64 build of Python on an Apple Silicon machine. This is not supported by MuJoCo. Please install and run a native, arm64 build of Python.. (HINT: you need to install mujoco"

I am using miniconoda python version 3.8

Please help! Thanks

muchvo commented 1 month ago

Hi there,

Sorry for the late response. Based on the error message you provided, it seems the issue might be that Python is not the ARM64 build version. Could you provide more details? Alternatively, could you try reinstalling the ARM64 version of Conda?

jamesarambam commented 1 month ago

I didn't know about this one. Recreating a conda environment with arm64 architecture solved the problem. Thank you.

CONDA_SUBDIR=osx-arm64 conda create -n