Install Softlearning via Conda
masterTo install Softlearning locally using Conda, follow these steps:
- Install MuJoCo: Download and install MuJoCo 1.50 and 2.00. Ensure files are in
~/.mujoco/mjpro150and~/.mujoco/mujoco200_{platform}. You may need to symlink the 2.00 installation so bothgymanddm_controlcan find it:ln -s ~/.mujoco/mujoco200_{platform} ~/.mujoco/mujoco200 - Setup License: Copy your
mjkey.txtto~/.mujoco/mjkey.txt. - Clone and Install:
- Clone the repository.
- Create the environment from
environment.yml. - Install the package in editable mode to enable the CLI.
To remove the environment, use conda deactivate followed by conda remove --name softlearning --all.
git clone https://github.com/rail-berkeley/softlearning.git ${SOFTLEARNING_PATH}
cd ${SOFTLEARNING_PATH}
conda env create -f environment.yml
conda activate softlearning
pip install -e ${SOFTLEARNING_PATH}