Is having a Flow's dependencies installed locally a hard requirement when running
prefect deploy
? It seems I cannot deploy a flow if the pip requirements are not met in the environment executing the deploy command
prefect.exceptions.ScriptError: Script at 'src/prefect/flows/test-dep.py' encountered an exception: ImportError("cannot import name 'OpenAI' from 'openai' (/Users/X/Library/Python/3.11/lib/python/site-packages/openai/__init__.py)")
n
Nate
12/29/2023, 3:32 PM
hi @Sammy
> Is having a Flow's dependencies installed locally a hard requirement when running
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.