-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcarla.sh
More file actions
21 lines (18 loc) · 796 Bytes
/
Copy pathcarla.sh
File metadata and controls
21 lines (18 loc) · 796 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
sudo apt-get install -y libomp5
conda create -n carla python=3.7 -y
conda activate carla
conda install numpy -y # install some packages on this vr-environment
nvidia-smi
nvcc --version
conda install -c "nvidia/label/cuda-11.8.0" cuda-nvcc -y # for more versions, refer: https://anaconda.org/nvidia/cuda-nvcc
nvcc --version # this should output the same version you installed based on the commands above
# Preparation
pip install --upgrade pip
pip install --user pygame numpy
pip install --user transforms3d
pip install opencv-contrib-python
pip install carla==0.9.13
# Download the Carla0.9.13 from the official website, then:
cd /Carla913/PythonAPI
python -m pip install -r requirements.txt # Support for Python2 is provided in the CARLA release packages
python generate_traffic.py # CHECK