Skip to content

Commit 6f28954

Browse files
Adding PythonAPI/examples to PYTHONPATH for __init__.py
1 parent 67e6790 commit 6f28954

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

PythonAPI/examples/DReyeVR_utils.py

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
import carla
33
import numpy as np
44
import time
5+
6+
import sys, os
7+
sys.path.append(os.path.join(os.getenv("CARLA_ROOT"), "PythonAPI"))
58
import examples # calls ./__init__.py to add all the necessary things to path
69

710

0 commit comments

Comments
 (0)