I am running python 3-32 bits on my windows computer. And here is my directory structure:
device_controller
device_controller.py
kestrel_main.py
And in the device_controller.py file, I have the import line as so:
from kestrel_main import mainKestrel
And I do have a mainKestrel() function defined in the kestrel_main.py file.
However, whenever I try to run the device_controller.py script, I get a "ModuleNotFoundError: no module name kestrel_main".
I run the script by typing the absolute path of the python 3-32bit executable followed by "device_controller.py". So as in
{absolute path of python} device_controller.py
Any ideas on why I get this error?