https://flyte.org logo
#ask-the-community
Title
# ask-the-community
j

Joseph Yi

01/11/2023, 12:07 AM
Hey all, Running into an module error. I have a sandbox environment running locally that is supposed to pull a function from a module in our code outside the root flyte folder. Seems like it should be simple... Is this possible?
y

Yee

01/11/2023, 12:30 AM
no not really. you’ll have to make the root folder a parent to all of them no?
is this possible in raw python?
unless you add the other path to
PYTHONPATH
it won’t find it right?
j

Joseph Yi

01/11/2023, 12:35 AM
That's right, is there an option like that for Flyte?
k

Kevin Su

01/12/2023, 10:55 PM
you can add your module to PYTHONPATH in your dockerfile