Can anyone help me work out a bug? I’m building th...
# prefect-server
j
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
The cloudpickle version and python version of your local needs to match the version inside the base image you are using.
j
The prefecthq/prefect:1.1.0-python3.8 appears to be using 3.8.12. That is what I am using as well.
k
how about cloudpickle version?
j
son of a.. i know what i did wrong..
sorry to bother.
k
No worries! All good 🙂