Traceback (most recent call last):
File "C:\Flask\APP-POWERBY\src\app.py", line 6, in <module>
from services.embedded import all_reports, all_workshop2
ModuleNotFoundError: No module named 'services'
I am importing the two definitions (all_reports, all_workshop2) with
from services.embedded import all_reports, all_workshop2 from the app.py file
The issue may be that you are running the script using python src/app.py. In this case, src will be included in the sys.path. However, since services.py is located in the parent directory of src, it cannot be detected by the interpreter.