https://prefect.io logo
Title
j

James Constable

09/30/2022, 2:27 AM
And now I have the error telling me to install adlfs even though it is in the EXTRA_PIP_PACKAGES env variable.
r

Rob Freedy

09/30/2022, 2:17 PM
Hey @James Constable! Are you able to share how you are setting the env variable in the pod's chart and also the full stack trace of the error?
c

Christopher Boyd

09/30/2022, 2:23 PM
Hi James, do you have the EXTRA_PIP_PACKAGES in your job spec for your deployment?
👍 1
that would be in your deployment, not in the helm chart
a

Amir

10/04/2022, 6:11 PM
Hey Chris, is EXTRA_PIP_PACKAGES something I specify in the helm release values? Having troubles finding where it is. Using AKS & Blob Storage
c

Christopher Boyd

10/04/2022, 8:47 PM
It depends on where you want your packages - for flows it should be in the job template you use to register your deployment
if you’re adding it to the agent / server images, it would go under ENV
env:
 EXTRA_PIP_PACKAGES: adlfs
a

Amir

10/05/2022, 9:29 PM
Thanks, Chris! I wasn't able to locate the env variable (I assumed it'd be located here), but I managed to get it working by specifying the variable in the kubernetes job block:
{
  "EXTRA_PIP_PACKAGES": "adlfs"
}
While not a perfect solution (as I omitted about 8 other packages in the above code snippet), it works for now (albiet with a ~minute delay prior to running the flow bc. of the required package installations)