Channels
pacc-oct-11-12-2023
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-clearcover-june-12-2023
pacc-sept-26-27-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
b
Balveer Singh
06/24/2022, 12:36 PM
How can we an install and import libraries during runtime in python script.
m
Maverick Humbert
06/24/2022, 12:41 PM
You need to build a custom image of prefect and add your dependencies to the Dockerfile 🙂
https://docs.prefect.io/orchestration/flow_config/docker.html#installing-extra-dependencies-at-runtime
k
Kevin Kho
06/24/2022, 2:05 PM
You can also look at the third example
here
if using local agent. Otherwise you need them in the container like Maverick suggested
8 Views
Post