Can anyone help me work out a bug? I’m building the docker image with prefecthq/prefect:1.1.0-python3.8. I’m also registering the flow with prefect 1.1.0 and doing so using the cli.
The error is
Copy code
Failed to load and execute flow run: FlowStorageError('An error occurred while unpickling the flow:\n AttributeError("Can\'t get attribute \'_make_function\' on <module \'cloudpickle.cloudpickle\' from \'/usr/local/lib/python3.8/site-packages/cloudpickle/cloudpickle.py\'>")\nThis may be due to one of the following version mismatches between the flow build and execution environments:\n - cloudpickle: (flow built with \'2.1.0\', currently running with \'2.0.0\')')
k
Kevin Kho
07/21/2022, 7:34 PM
The cloudpickle version and python version of your local needs to match the version inside the base image you are using.
j
Jacob Longhurst
07/21/2022, 7:40 PM
The prefecthq/prefect:1.1.0-python3.8 appears to be using 3.8.12. That is what I am using as well.
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.