Sergey
11/12/2021, 6:43 AMFailed to load and execute Flow's environment: StorageError('An error occurred while unpickling the flow:\n AttributeError("Can\'t get attribute \'_unpickle_timestamp\' on <module \'pandas._libs.tslibs.timestamps\' from \'/usr/local/lib/python3.7/site-packages/pandas/_libs/tslibs/timestamps.cpython-37m-x86_64-linux-gnu.so\'>")\nThis may be due to one of the following version mismatches between the flow build and execution environments:\n - prefect: (flow built with \'0.15.3\', currently running with \'0.14.19\')\n - python: (flow built with \'3.7.3\', currently running with \'3.7.4\')')
Is it that I have a version older than on the server?Anna Geller
Sergey
11/12/2021, 10:32 AMAnna Geller
if __name__ == '__main__':
flow.register("project_name")
or use CLI:
prefect register --project your-project -p /path/to/flow.py
Sergey
11/12/2021, 10:50 AMAnna Geller
Anna Geller
Sergey
11/12/2021, 10:56 AMAnna Geller
conda create --name prefectVenv python=3.7.4
pip install prefect==0.14.9
prefect register --project your-project -p /path/to/flow.py
Sergey
11/13/2021, 7:35 AMAnna Geller
Sergey
11/13/2021, 1:42 PM0.14.19
2. we do not explicitly define the storage
Sergey
11/13/2021, 1:42 PMwith Flow("example") as flow:
pass
Sergey
11/13/2021, 1:44 PMAnna Geller
Sergey
11/13/2021, 2:38 PMSergey
11/13/2021, 2:38 PMAnna Geller