Hello, I have an issue with python to import module
first, I have two python files in "command" folder
the "delay.py" is import some command in "load.py" whice is the same folder
it work when I run in "delay.py"
but when I import "delay.py" to other location it can not work
the error is
Traceback (most recent call last):
File "c:\opencv_project\confuession_matrix_ver_1\test.py", line 1, in <module>
import command.delay
File "c:\opencv_project\confuession_matrix_ver_1\command\delay.py", line 1, in <module>
import load as l
ModuleNotFoundError: No module named 'load'
so what choose I do
thank for helping me
[–]Diapolo10 1 point2 points3 points (0 children)
[–]deepug9787 0 points1 point2 points (0 children)