carla-simulator / carla-simulator/imitation-learning

Module not found error: Carla

Open
#2 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
484
Forks
127
PR merge metrics
No merged PRs in 30d

Description

I've been about this every way I can think of and am unable to find a solution.

I can run the manual and example clients on the carla-server with no problem.

When I try to run 'python run_CIL.py' I am returned with this:

:~/Desktop/Codevilla/imitation-learning$ python run_CIL.py
Traceback (most recent call last):
File "run_CIL.py", line 5, in
from carla.benchmarks.corl_2017 import CoRL2017
ModuleNotFoundError: No module named 'carla'

With sudo it kicks up this:

:~/Desktop/Codevilla/imitation-learning$ python run_CIL.py
Traceback (most recent call last):
File "run_CIL.py", line 5, in
from carla.benchmarks.corl_2017 import CoRL2017
ModuleNotFoundError: No module named 'carla'

Any ideas?

Thanks.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with run_CIL.py, especially its import of carla.benchmarks.corl_2017, and compare the Python environment used to run the manual and example clients. Reproduce the ModuleNotFoundError and inspect the repository’s setup or dependency instructions. Done means the import succeeds when running python run_CIL.py without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.