https://prefect.io logo
n

Nakul Gowdra

10/05/2020, 2:31 AM
Hi Team, Has anyone encountered issues running flows on prefect cloud, the flow runs perfectly locally ( on windows pc) but fails with "Failed to load and execute Flow's environment: TypeError('an integer is required (got type bytes)')" . I have tried to register via flow.register() as well as prefect cmd. Thanks in advance - BTW it is using a boto3 aws library and python 3.7.2
in case anyone else faces the same issue: This was a python version mismatch issue, can be solved by adding environment=LocalEnvironment(metadata={"image": "prefecthq/prefect:0.13.6-python3.7"}) to your flow since prefect agent runs on 3.8 image by default