I have below scripts,
backend/scripts/factories.py
backend/monitor/models.py
scripts/scripts/industry/industry.py
In industry.py I have,
from monitor.models import abc
from scripts.factories import xyz
It is failing with error,
ModuleNotFoundError: No module named 'scripts.factories'
At the same time monitor.models is working. Is it happening because of same path 'scripts' exists twice? If yes how can I solve this? Please advise.