How do you handle different conda/poetry environme...
# ask-community
s
How do you handle different conda/poetry environments? How do you specify which python env to use in the deployment?
c
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
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
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?