Error with 'commonroad_dc', bash build.sh -w -i

Hi,

I’m having problems with running some files because of ‘No module named ‘commonroad_dc’’.
I’m working on Linux and installed everything according to the readme, except bash build.sh -w -i didn’t work because of 1) ImportError: No module named pathlib and 2) /usr/bin/python: No module named pip.
Current versions: Python 3.8.10, pip 21.3.1.
Do I need pip3 or pip and python3 or python2? My default is set to python3.
I’m currently not able to install pathlib, error:
ERROR: Could not find a version that satisfies the requirement pathlib (from versions: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.97, 1.0, 1.0.1)
ERROR: No matching distribution found for pathlib

I haven’t found any solution to this on Google and would appreciate any help :slight_smile:

Also, how is the structure with CommonRoad Route Planner and Drivability Checker? They are all in the same directory as CommonRoad Search, right?
Thanks!

Hi flamingo,

We only support anaconda python. Could you possibly install anaconda, run conda activate your_environment and try again ?

1 Like

Hi, thanks for your answer, I didn’t activate the environment when doing the other steps. But it’s working now.