Skip to content

Installation

Prerequisites

Before starting, ensure you have:

  • Python 3.10+
  • Conda (recommended for environment management)

Step 1: Clone Repository

Clone the repository with all submodules:

git clone --recurse-submodules https://github.com/ChengshuLi/MoMaGen.git
cd MoMaGen

Step 2: Create Conda Environment

Set up a new conda environment:

conda create -n momagen python=3.10
conda activate momagen

Step 3: Install Dependencies

Install MoMaGen

pip install -e .

Install BEHAVIOR-1K and Dependencies

cd BEHAVIOR-1K
./setup.sh --omnigibson --bddl --joylo --dataset --primitives
cd ..

Install Robomimic

cd robomimic
pip install -e .
cd ..

Verification

Verify Installation

To verify the installation, check that the required packages are available:

python -c "import momagen; import omnigibson; import robomimic; print('Installation successful')"

If successful, you should see: Installation successful

Troubleshooting

Common Issues

Submodules not cloned

git submodule update --init --recursive

Next Steps

Once installation is complete, proceed to the data generation tutorial.