Hy everybody,
I’m trying to follow the tutorial at Sumo-interface but I’m failing to execute the minimal example Python script provided.
I trace down here the whole troubleshooting history, as there may be valuable information for you guys that I don’t recognise as such (bear me, I beg your pardon…)
I issued python3 -m pip install sumo-cr
but got message
commonroad-rl 2022.2 requires commonroad-io==2022.1, but you have commonroad-io 2022.3 which is incompatible.
I ignored it for the moment, as I think I stumbled upon a vicious cycle in dependencies (basically I firstly installed commonroad-all, then tried the commonroad-rl tutorial with issues, and ended up discovering that updating either commonroad-rl or commonroad-io makes someone amongst the two and sumocr sad…but this is another story, maybe for another forum post)
I proceeded to run the minimal example script but got error
ModuleNotFoundError: No module named 'simulation'
I then run python3 -m pip install simulation
but got error
ERROR: Failed building wheel for scikit-sparse
that traced back to
fatal error: 'cholmod.h' file not found
I solved it after somme googling by installing sparse-suit via homebrew (the interested reader is referred to here and there)
Now I am stuck with error
ModuleNotFoundError: No module named 'simulation.simulations'
I’ve seen that there is a simulations.py
at https://gitlab.lrz.de/tum-cps/commonroad-interactive-scenarios/-/tree/master/simulation, it is the one Python is looking for?
If yes, can you spot what I did wrong based on the report above?
Did I miss some installation steps?
FYI I have installed
- Name: commonroad-all Version: 0.0.1
- Name: commonroad-io Version: 2022.3
- Name: sumocr Version: 2022.3
I tried to install other versions of sumocr (all from 2022.*) but neither succeeded