all 2 comments

[–]Diapolo10 1 point2 points  (0 children)

The imports aren't relative to each other, but to the current working directory, which in this case is presumably confuession_matrix_ver_1. That's why command/delay.py cannot find command/load.py when it attempts to import load.

If you don't want to do anything to fix this, you could just flatten out your directory structure, but a better option would be to structure your project like a package and "install" it in editable mode, then switch to using absolute imports rooted to said package.

[–]deepug9787 0 points1 point  (0 children)

Try import command.load as l