```python
conda create -n nexus python=3.9
conda activate nexus
git clone https://github.com/OpenDriveLab/Nexus.git && cd Nexus
pip install -r requirements.txt
```
To simplify installation, we directly provide a stable version of ALF here. Follow these steps to install ALF:
-
Navigate to the
third_party/alfdirectory:cd Nexus/third_party/alf -
Install ALF:
pip install -e .
-
Navigate to the
third_partydirectory:cd Nexus/third_party -
Clone the Nuplan Devkit repository:
git clone --branch feat-v1.3_gump https://github.com/HorizonRobotics/nuplan-devkit.git
-
Install the Nuplan Devkit:
cd nuplan-devkit pip install -e .
-
Set the
NUPLAN_DEVKIT_PATHenvironment variable:export NUPLAN_DEVKIT_PATH=$YOUR_PATH_TO_Nexus/Nexus/third_party/nuplan-devkit
-
Navigate to the
third_partydirectory:cd Nexus/third_party -
Clone the MTR repository:
git clone https://github.com/sshaoshuai/MTR.git
-
Install the MTR:
cd MTR pip install -e .