Common issues and their solutions.
ModuleNotFoundError: No module named 'carla'
- Cause: The
PYTHONPATHis not set correctly, or the.sofile insite-packageswas not renamed. - Fix: Ensure you exported
PYTHONPATHpointing to yourvenv/lib/python3.12/site-packagesand thatcarla.soexists in that folder (see Installation Guide Step 4).
ImportError: ... module compiled using NumPy 1.x cannot be run in NumPy 2.x
- Cause: You have
numpyversion 2.0 or greater installed, but ROS 2 Jazzy’scv_bridgerequires NumPy 1.x. - Fix: Run
pip install "numpy<2".
NameError: name 'da_path' is not defined
- Cause: Older code version in
depth_anything.py. - Fix: Pull the latest changes or ensure
da_pathis defined asself.da_pathin the class__init__method.