Throws an error while running manual_control.py
See original GitHub issueHi, I followed all the steps accordingly but when I try running manual_control.py it throws the below error. I also double checked the paths and environment variables.
I have Python 2.7 and CARLA 0.9.10
Traceback (most recent call last):
File "manual_control.py", line 58, in <module>
from examples.manual_control import (World, HUD, KeyboardControl, CameraManager,
ImportError: No module named examples.manual_control
Thank you!
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Release 0.9.1 manual_control.py gives error when run ...
While I'm using the manual.control.py I'm getting a blackscreen, but i can control the car. Is this the same issue like @YashBansod mentioned?...
Read more >Cannot run properly the basic scenario in Scenario Runner
Regarding your manual control error, you seem to be missing the $CARLA_ROOT/PythonAPI/carla folder at the PYTHONPATH, so python isn't finding ...
Read more >Control-C handling in Python and Trio — njs blog
add_callback(B), we just write A(); B() (maybe with some awaits thrown in). Our model for running concurrent tasks is that spawning a task...
Read more >Problem when linking against Python 3.8 libs in gcc
I don't have experience with manual control of gcc's options, all what I've done was compilation from inside IDE's with automatically set flags....
Read more >Control Flow — Julia Language development documentation
Exception Handling: try-catch, error and throw. Tasks (aka Coroutines): yieldto. The first five control flow mechanisms are standard to high-level programming ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @SiNa-Dehbari, recent version need an additional PYTHONPATH link:
export PYTHONPATH=$PYTHONPATH:$CARLA_ROOT/PythonAPI
which seems to be the one you are missing
I add this line to ~/.bashrc
export PYTHONPATH=$PYTHONPATH:${CARLA_ROOT}/PythonAPI/examples
then it works.