hi guys i am getting ```Failed to load and execute...
# prefect-community
s
hi guys i am getting
Copy code
Failed to load and execute Flow's environment: ValueError('unsupported pickle protocol: 5',)
prefect and cloudpickle versions of local and remote are the same
Copy code
$ pipenv graph
...
prefect==0.13.6
  - click [required: >=7.0, installed: 7.1.2]
  - cloudpickle [required: >=0.6.0, installed: 1.6.0]
...
Copy code
(prefect-env) [prefect@ghpr-dev-prefect-usc1-a-1 ~]$ prefect version
0.13.6
(prefect-env) [prefect@ghpr-dev-prefect-usc1-a-1 ~]$ pip 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: /opt/prefect/prefect-env/lib/python3.6/site-packages
Requires:
c
Hi @sark - can you confirm that the python versions are also the same?
s
ah different python versions!
Copy code
$ python3 --version
Python 3.8.5
Copy code
(prefect-env) [prefect@ghpr-dev-prefect-usc1-a-1 ~]$ python3 --version
Python 3.6.8
c
Ah yes! That would do it; protocol 5 was introduced as the default in 3.8
s
thanks chris!
👍 1
c
@Marvin archive “unsupported pickle protocol: 5 when running Flow”