https://prefect.io logo
Title
s

Stefan

01/26/2023, 9:42 AM
How do you handle different conda/poetry environments? How do you specify which python env to use in the deployment?
c

Christopher Boyd

01/26/2023, 3:12 PM
Do you have an example of what you are trying to do? Generally I’ve seen environment isolation done through containers. Are you doing local flow runs? Which version are you using, and are you using prefect cloud, or open source?
s

Stefan

01/26/2023, 3:15 PM
Hi! Yeah, a flow in my "prefect" folder connected to an API running in Docker on another server. 2.7.9. So I'm wondering if I should edit the yaml-file to specify the python for the different environments as some have different libraries needed
c

Christopher Boyd

01/26/2023, 3:23 PM
If it’s connecting to an API, maybe I’m missing something - whats the significance of changing the python version? The API should be an exposed set of actions that are immaterial to the version being used?