https://kedro.org/ logo
#questions
Title
# questions
a

Andrew Stewart

03/10/2023, 12:19 AM
If I'm packaging and distributing pipeline as a wheel file, and then go to run it as follows:
Copy code
from mypipeline.__main__ import main

main()
..can anyone think of a reason why any custom datasets under
mypipeline.extras.datasets.MyDataSet
would not be installed along with the wheel?
Copy code
kedro.io.core.DataSetError: Class 'mypipeline.extras.datasets.MyDataSet' not found or one of its dependencies has not been installed.
Anyone?
m

Merel

03/10/2023, 9:20 AM
How are you packaging your pipeline? Through the
kedro micropkg
commands?
n

Nok Lam Chan

03/10/2023, 12:16 PM
Any chance you missed the dependency? Can you check the full stack trace
a

Andrew Stewart

03/10/2023, 7:38 PM
I can try a few things, but right now I'm using
poetry build --format wheel
(cc @Ken Han)