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
Kevin Kho
Jacob Bedard
07/12/2022, 3:37 PMJacob Bedard
07/12/2022, 3:38 PMJacob Bedard
07/12/2022, 3:39 PMKevin Kho
Jacob Bedard
07/12/2022, 3:40 PMprefect agent local start -n "Data Workhorse 1" -l "ec2 worker"
Jacob Bedard
07/12/2022, 3:41 PMJacob Bedard
07/12/2022, 3:41 PMKevin Kho
Jacob Bedard
07/12/2022, 3:42 PMKevin Kho
Jacob Bedard
07/12/2022, 3:44 PMJacob Bedard
07/12/2022, 3:44 PMKevin Kho
python
then
import snowflake
Jacob Bedard
07/12/2022, 3:50 PMJacob Bedard
07/12/2022, 3:51 PMJacob Bedard
07/12/2022, 3:52 PMKevin Kho
Jacob Bedard
07/12/2022, 3:58 PMJacob Bedard
07/12/2022, 4:02 PMJacob Bedard
07/12/2022, 4:25 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
Jacob Bedard
07/12/2022, 4:42 PMJacob Bedard
07/12/2022, 5:11 PMimport snowflake.connector as snow
Jacob Bedard
07/12/2022, 5:11 PMKevin Kho