guardstrikelab / carla_apollo_bridge

This project aims to provide a data and control bridge for the communication between the latest version of Apollo and Carla.
Apache License 2.0
336 stars 98 forks source link

ModuleNotFoundError: No module named 'carla' #166

Open caixxuan opened 1 year ago

caixxuan commented 1 year ago

In what area(s)?

/area runtime

/area operator

/area placement

/area docs

/area test-and-releas Screenshot from 2023-10-27 11-15-55 e

Describe the proposal

I encounter the wrong when 'python main.py': Traceback (most recent call last): File "main.py", line 11, in import carla ModuleNotFoundError: No module named 'carla' Screenshot from 2023-10-27 11-15-55

howicc commented 1 year ago

It seems like the Carla Python API was not found. Did you run the script install.sh? After that you can source ~/.bashrc and try again

harsha1597 commented 6 months ago

Type vim ~/.bashrc and check if the Carla PythonAPI is added to PYTHONPATH. Then run source ~/.bashrc