Ivan Indjic
08/12/2021, 8:48 AMGreg Roche
08/12/2021, 9:01 AMfrom mytasks import foo
commands that are at the top of the flow. Usually this means installing your code locally as an editable package with pip install -e .
. https://prefect-community.slack.com/archives/CL09KU1K7/p1628583203100000 for more info and examples.Ivan Indjic
08/12/2021, 9:44 AMpip install -e .
"<- Does it mean that I have to write Dockerfile and add this command ?Greg Roche
08/12/2021, 9:47 AMIvan Indjic
08/12/2021, 11:17 AMFailed to load and execute Flow's environment: ImportError('Unable to import gitlab, please ensure you have installed the gitlab extra',)
Greg Roche
08/12/2021, 11:25 AMpip install "prefect[gitlab]"
Greg Roche
08/12/2021, 11:25 AMIvan Indjic
08/12/2021, 11:31 AMIvan Indjic
08/12/2021, 11:32 AMIvan Indjic
08/12/2021, 12:36 PMRequirement already satisfied: prefect[gitlab]
<- This is the output of pip install "prefect[gitlab]". However, when using local agent with tasks stored in Gitlab, my flow fails with the error above.Sam Cook
08/12/2021, 1:15 PMKevin Kho
Ivan Indjic
08/12/2021, 2:48 PM