Skip to content

[BUG] Error when running “minimal_example.py” #3

@yongtyy

Description

@yongtyy

Hello! I encountered errors when running the minimal_example.py script and would appreciate your guidance. Here’s a summary:

​​1. Initial Error (Before Upgrade)​​
When first running minimal_example.py, I received a module import error:

ModuleNotFoundError: No module named 'commonroad_route_planner.fast_api'
​​Screenshot​​:
Image

​​2. Upgrade Process with Warning​​
I upgraded to commonroad-route-planner==2025.1.0, which resolved the missing module error but generated a dependency conflict warning:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
commonroad-carla-interface 1.0.0 requires commonroad-route-planner<2025.0.0,>=2024.2.0, but you have commonroad-route-planner 2025.1.0 which is incompatible.
​​Screenshot​​:
Image

​​3. New Error After Upgrade​​
After upgrading, rerunning minimal_example.py resulted in a configuration error:

ImportError: generic_type: type "Segment" is already registered!
​​Screenshot​​:
Image

Thank you for your time and assistance!​

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions