Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the scheduled job failed when the scheduled notebook include modules from same folder #72

Open
sunnydgm opened this issue Jan 10, 2023 · 1 comment

Comments

@sunnydgm
Copy link

The Scheduled job failed to produce results if the scheduled notebook need to import modules from same folder.

Folder 1
scheduled_notebook
module1.py
module2.py

if my scheduled_notebook needs to read modlue1 and module2 from the same folder, the run will fault with 'Execution using papermill encountered an exception here and stopped: ModuleNotFoundError:.."

@susuleung
Copy link

susuleung commented Jan 28, 2023

Same issue here. Even I put them as site-packages, it still didn't work.
I am now doing a silly way -- putting all modules in main.ipynb. Obviously, this is not good. Another way maybe need to create customize container and pre-build the modules inside it.
Hope anyone can provide a better solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants