```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/alf
directory:cd Nexus/third_party/alf
-
Install ALF:
pip install -e .
-
Navigate to the
third_party
directory: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_PATH
environment variable:export NUPLAN_DEVKIT_PATH=$YOUR_PATH_TO_Nexus/Nexus/third_party/nuplan-devkit
-
Navigate to the
third_party
directory:cd Nexus/third_party
-
Clone the MTR repository:
git clone https://github.com/sshaoshuai/MTR.git
-
Install the MTR:
cd MTR pip install -e .