Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run without building carla from sources #1086

Open
alexkutsan opened this issue Jun 7, 2024 · 1 comment
Open

Run without building carla from sources #1086

alexkutsan opened this issue Jun 7, 2024 · 1 comment
Assignees

Comments

@alexkutsan
Copy link

Is it possible to run scenario runner without building Carla from sources, but using the https://pypi.org/project/carla/ package?

When I try to do so I get error:

╭─akutsan at powerpc in ~/rnd/company/carla_research/scenario_runner on d12d8bb✘✘✘ using «venv»
╰─± python3 scenario_runner.py --scenario FollowLeadingVehicle_1 --reloadWorld                                                                                                                                                                       0.421s 
/home/akutsan/rnd/company/carla_research/scenario_runner/scenario_runner.py:23: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  from distutils.version import LooseVersion
Traceback (most recent call last):
  File "/home/akutsan/rnd/company/carla_research/scenario_runner/scenario_runner.py", line 35, in <module>
    from srunner.scenarioconfigs.openscenario_configuration import OpenScenarioConfiguration
  File "/home/akutsan/rnd/company/carla_research/scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py", line 24, in <module>
    from srunner.scenariomanager.carla_data_provider import CarlaDataProvider  # workaround
  File "/home/akutsan/rnd/company/carla_research/scenario_runner/srunner/scenariomanager/carla_data_provider.py", line 22, in <module>
    from agents.navigation.global_route_planner import GlobalRoutePlanner
ModuleNotFoundError: No module named 'agents'
@PabloVD
Copy link
Contributor

PabloVD commented Jun 21, 2024

You need to download the package containing the CARLA simulator from here. Take a look also here to see the complete installation process in the context of the Leaderboard, although if you do not need the Leaderboard you can skip the corresponding steps.

@PabloVD PabloVD self-assigned this Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants