Josh
05/23/2022, 8:59 PMThis may be due to one of the following version mismatches between the flow build and execution environments:\n - python: (flow built with '3.7.13', currently running with '3.7.12')")
The CI/CD system registering my flow I guess is using python 3.7.13. But how do I know what the execution environment python is if it’s executing from a docker image in a prefect docker agent?Kevin Kho
cloudpickle
version issue more than python version. So check Prefect and cloudpickle versionsJosh
05/23/2022, 9:04 PMcloudpickle
version?Kevin Kho
pip show cloudpickle
inside the base image?Josh
05/23/2022, 9:07 PMpip show cloudpickle
Name: cloudpickle
Version: 1.6.0
Summary: Extended pickling support for Python objects
Home-page: <https://github.com/cloudpipe/cloudpickle>
Author: Cloudpipe
Author-email: <mailto:cloudpipe@googlegroups.com|cloudpipe@googlegroups.com>
License: BSD 3-Clause License
Location: /usr/local/lib/python3.7/site-packages
Requires:
Required-by: dask, distributed, gym, mlflow, prefect, shap
Kevin Kho
Josh
05/23/2022, 9:09 PMKevin Kho
Josh
05/23/2022, 9:13 PMKevin Kho
pip show cloudpickle
Josh
05/23/2022, 9:14 PMKevin Kho
Josh
05/23/2022, 9:17 PMpip show cloudpickle
on the VM/host showed 2.0.0Kevin Kho
Josh
05/23/2022, 9:23 PMKevin Kho