-
Notifications
You must be signed in to change notification settings - Fork 744
Open
Description
After running the src/components/data_ingestion.py , It gives ModuleNotFoundError : no module name 'src' , have tried every fix from bard , maily :
- import os
os.environ['PYTHONPATH'] = os.path.dirname(file) + '/src'
from src.exception import CustomException
2.import shutil
shutil.move('src', 'my_project/src')
from my_project.src.exception import CustomException
but haven't got it resolved.
Also , I am using miniconda env .
Can anyone let me know how to fix it ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels