# Installation

First make a virtual environment with Python 3.8, we recommend Python 3.8 because that's the version supported by carla Python SDK 0.9.12 but you can self-compile a supported carla sdk up to Python 3.10.

Before installating ROAR\_PY\_RL, Make sure that ROAR\_PY control suite(<https://github.com/augcog/ROAR_PY>) is installed and updated to the newest version. You need to install both the interface and the Carla Implementation backend for ROAR\_PY.

{% content-ref url="<https://app.gitbook.com/o/MXlDeeaXnpXicro4N3Zc/s/RNhgbMBKC4oJxk48MI9Y/>" %}
[ROAR\_PY Documentation](https://app.gitbook.com/o/MXlDeeaXnpXicro4N3Zc/s/RNhgbMBKC4oJxk48MI9Y/)
{% endcontent-ref %}

After those, run the following command to clone the RL repo onto your computer, then cd into that directory

```bash
git clone https://github.com/augcog/ROAR_PY_RL
cd ROAR_PY_RL
```

Then simply run

```
pip3 install -e .
```

to install the RL package.&#x20;
