Jacob Bedard
07/12/2022, 3:33 PMFailed to load and execute flow run: FlowStorageError('An error occurred while unpickling the flow:\n ModuleNotFoundError("No module named \'snowflake\'")
I'm running this as a local agent. The flow runs ok when I do a flow.run() on the machine running the agent. What am I missing here?Kevin Kho
07/12/2022, 3:36 PMJacob Bedard
07/12/2022, 3:37 PMKevin Kho
07/12/2022, 3:40 PMJacob Bedard
07/12/2022, 3:40 PMprefect agent local start -n "Data Workhorse 1" -l "ec2 worker"
Kevin Kho
07/12/2022, 3:41 PMJacob Bedard
07/12/2022, 3:42 PMKevin Kho
07/12/2022, 3:42 PMJacob Bedard
07/12/2022, 3:44 PMKevin Kho
07/12/2022, 3:49 PMpython
then
import snowflake
Jacob Bedard
07/12/2022, 3:50 PMKevin Kho
07/12/2022, 3:55 PMJacob Bedard
07/12/2022, 3:58 PMFailed to load and execute flow run: FlowStorageError('An error occurred while unpickling the flow:\n ModuleNotFoundError("No module named \'snowflake\'")\nThis may be due to one of the following version mismatches between the flow build and execution environments:\n - python: (flow built with \'3.8.13\', currently running with \'3.8.10\')\nThis also may be due to a missing Python module in your current environment. Please ensure you have all required flow dependencies installed.')
Kevin Kho
07/12/2022, 4:26 PMJacob Bedard
07/12/2022, 4:42 PMimport snowflake.connector as snow
Kevin Kho
07/13/2022, 4:56 AM