ModuleNotFoundError SMP

Hello,

when running the batch_processing_file I always get an “ModuleNotFoundError” in the Virtual Machine and in the docker. The Compiler complains about the line “import SMP.batch_processing.helper_functions as hf” and says that there is not module named SMP.
I haven’t changed anything prior of the running of the batch_processing file.
Is it only me, did I run the wrong file when testing for the scenarios?

add SMO folder into sys.path

I tried it with sys.path.insert() in the VM, but it still complains about that there is no module named SMP.

I could not reproduce your error. Here are my steps for running the notebook:

  1. Download the latest VM
  2. Open terminal (can be opened via quick launch bar)
  3. change directory with cd Desktop/commonroad-search/
  4. launch jupyter note book with jupyter notebook
  5. open the tutorials and run the code

The tutorials work just fine. I have a dumb question: How can I run the SMP/batch-processing.py file in the jupyter notebook environment?

You can easily follow the steps implemented in this tutorial Tutorial-batch processing to run batch_processing_(parallel / sequential).py. The line sys.path.append(...) used in this notebook should also solve the “ModuleNotFoundError” you mentioned in the first post.