You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to turn into a pip package a notebook which runs using Papermill. There are python file local to the package that I want to import into the notebook but it's giving me an error:
Hi, I'm not part of the team working on this project, but I've come across this issue a couple times before. You should be able to resolve this issue by switching your import statement to:
fromyour_package_nameimportutils, preprocessing
Unfortunately, appending to the system path is a bit of a hack and is recommended against - see the python module docs for an in depth explanation of how the system works. You'll want to replace all instances imports with path appends with fully qualified imports too.
I'm trying to turn into a pip package a notebook which runs using Papermill. There are python file local to the package that I want to import into the notebook but it's giving me an error:
This way of importing gives this error whether I try to run the notebook manually and through Papermill.
I've also tried importing it directly:
The direct import runs fine if I execute the notebook manually, but when I try to run them through Papermill it doesn't work.
In my package parent I have
The text was updated successfully, but these errors were encountered: