Channels
pacc-july-11-12-2023
pacc-sept-20-21-2023
pacc-aug-16-2023
pacc-aug-29-30-2023
pacc-may-31-2023
prefect-ai
pacc-sept-26-27-2023
pacc-clearcover-june-12-2023
pacc-july-6-2023
intros-test
livestream-chatter
marvin-in-the-wild
data-ecosystem
geo-israel
pacc-june-14-2023
geo-japan
pacc-london-2023
pacc-sept-13-14-2023
prefect-cloud
ppcc-may-16-2023
prefect-azure
prefect-docker
prefect-recipes
gratitude
geo-nyc
geo-bay-area
geo-boston
geo-london
geo-dc
geo-chicago
geo-berlin
geo-texas
geo-seattle
geo-colorado
pacc-july-17-18-2023
introductions
prefect-server
data-tricks-and-tips
prefect-aws
prefect-gcp
find-a-prefect-job
prefect-dbt
random
events
ask-marvin
show-us-what-you-got
prefect-getting-started
prefect-integrations
prefect-contributors
best-practices-coordination-plane
announcements
prefect-ui
prefect-kubernetes
pacc-aug-22-23-2023
prefect-community
Powered by
#prefect-community
Title
u
uttam K
11/04/2020, 11:42 AM
I have written mysql connection function in different file and imported in my flow it works well when i use flow.run() But when I run using prefect server UI it says module not found . I have attached code .Please help
233.zip
a
ale
11/04/2020, 11:51 AM
Hi
@uttam K
, make sure your code is available in the PYTHONPATH when you run the flow using prefect server
u
uttam K
11/04/2020, 11:53 AM
I have just started Prefect and my code is inside Prefect Examples . Thanks for your quick reply I will check it
p
Prathamesh
11/04/2020, 2:29 PM
Navigate to your code from cli and then call your flow register script: On windows:
>D:/
>cd prefect_examples/
>python flow_register.py
z
Zanie
11/04/2020, 4:23 PM
Hi! Can you take a look at
https://prefect-community.slack.com/archives/CL09KU1K7/p1603476596033800
and let us know if that solves your problems?
3 Views
Post