ModuleNotFoundError: No module named 'srunner'
See original GitHub issueI have added SCENARIO_RUNNER_ROOT as senario_runner in the system variables path which I downloaded from Carla git for carla 0.9.12. In this senario_runner we have srunner folder which I am trying to import to scenario_manager.py and in leaderboard_evaluator.py. I also added ./senario_runner in settings.json of vscode which helped in removing the warning while importing srunner but still when I try to run leaderboard_evaluator.py it gives me this error
Traceback (most recent call last):
File "C:\CARLA\leaderboard\leaderboard\leaderboard_evaluator.py", line 27, in <module>
from srunner.scenariomanager.carla_data_provider import *
ModuleNotFoundError: No module named 'srunner'
This is leaderboards_evaluator.py
This is settings.json
- OS: [Windows 10]
- CARLA Version [CARLA 0.9.12]
- Python version [3.8.5]
I also tried carla on ubuntu but I set MESA intel error and it doesn’t run. On windows though it runs but I am getting these import errors which I am trying to solve from some days… Can anyone help me with this… I am stuck on setting carla for a long time. Please help if you know where I am going wrong… Thank you 😃
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (5 by maintainers)
Top GitHub Comments
Oh, seems like you updated the PYTHONPATH but didn’t refresh the terminal nor sourced the new bash script, so the new PYTHONPATH wasn’t being used. It should work for you now.
@GeneralMak Please, open another issue with your specific problem explained there.
@chinmay-d Hello ,can you tell me how to successfuly run this leaderboard_evaluator.py? thank you