Is having a Flow's dependencies installed locally ...
# prefect-getting-started
s
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
hi @Sammy > Is having a Flow's dependencies installed locally a hard requirement when running
prefect deploy
? yep, for now it is
s
thank you 👍