https://prefect.io logo
Title
d

Dan Cabrol

03/13/2023, 9:28 PM
Hey everone, I've been struggling the past few days to deploy some flows with the CLI. When running : prefect deployment build ./p_youtube.py:youtube_flow -n p_youtube -t ubuntu --storage-block s3/bao-prefect I have this error message : Script at './social/p_youtube.py' encountered an exception: ModuleNotFoundError("No module named 'psycopg2'") I'm perfectly able to run py p_youtube.py without any error ( calling youtube_flow() inside the script ) Obviously psycopg2 is correctly installed What Am i missing ?