Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2023 07:30 AM
Hi all,
I have a very similar problem. I can write code perfectly in my github Repos here, but when I try to access it through an import command I receive the error:
ModuleNotFoundError: No module named 'module_name'
When I try to check my environment with os.getcwd() I see that my default path is databricks/driver. However, when I copy the path of my current environment through the files path, and use it in os.changedir() I receive the following error:
FileNotFoundError: [Errno 2] No such file or directory: "/Repos/repo_name"
Is there a quick fix for this? I usually do not have problems like this in VScode os Jupyter notebooks.
Thanks!