hi, could anyone advise how to leverage a local py...
# ask-community
t
hi, could anyone advise how to leverage a local python module when registering a flow? I can only run the flow locally but not register. I registered my local module by doing
pip install -e my_module
and it works when doing `python flow.py`; but when I register the flow, it always fail for
ModuleNotFoundError: No module named 'my_module'
error.
m
Hey Tony assuming you're using Prefect 1.0 I'd check out this article, it should help get you in the right direction 😄 https://discourse.prefect.io/t/when-i-run-my-flow-i-see-an-error-failed-to-load-and-exe[…]derror-no-module-named-users-username-what-is-happening/33
t
Thanks!