Hello everyone! I have a little problem when I tr...
# ask-metaflow
e
Hello everyone! I have a little problem when I try to access flow artifacts in a Jupyter Notebook, see below;
Copy code
run_data = Flow('TestsDebug').latest_successful_run.data
run_data.config.config
error message:
Copy code
368     # would not expect two artifacts with different names to actually
    369     # be aliases of one another)
--> 370     yield name, pickle.loads(blob)

ModuleNotFoundError: No module named 'modules'
I am running my flow on GCP with Kubernetes: My files and folders structure looks like this:
Copy code
flows/
    TestsDebug.py
    modules/
            __init__.py
            config.py
My flow:
Copy code
from metaflow import FlowSpec, step, kubernetes

class TestsDebug(FlowSpec):
    
    @kubernetes(image='my_image:latest')
    @step
    def start(self):
        from modules.config import Config
        self.config = Config()
        print('hello')
        self.next(self.end)

    @step
    def end(self):
        pass

if __name__ == '__main__':
    TestsDebug()
Any idea ?
1