Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2024 09:19 AM
Hi @adhi_databricks ,
1. Double check the directories Python is using to look for modules:
import sys
... add the path...
print(sys.path)2. Double check utils.py is a file and not a notebook
3. Try to set manually the current working directory:
import os
os.chdir('/Workspace/Repos/xyz@email.com/de/usecase/main/data_pipelines/notebooks')4. Always test first clearing the state of the notebook
5. Prioritize your custom path using sys.path.insert(0, path) instead sys.path.append()