sark
09/15/2020, 3:58 AMFailed to load and execute Flow's environment: TypeError('an integer is required (got type bytes)')
LocalEnvironment
with the docker agent?Chris White
09/15/2020, 4:00 AMsark
09/15/2020, 4:03 AMChris White
09/15/2020, 4:04 AMpython_version
kwarg (in this case, specifying 3.8 should be sufficient - the minor version usually has no impact)sark
09/15/2020, 4:04 AMChris White
09/15/2020, 4:09 AMsark
09/15/2020, 4:10 AMChris White
09/15/2020, 4:16 AMmetadata
on your Environment? The docker agent should raise an error if you don’t have a configured image for it to use.
Either way, if you add metadata={"image": "prefecthq/prefect:0.13.6-python3.8"}
to your Environment initialization (or some other appropriate image for your Flow that has all the necessary dependencies + the right version of python) you should be goodsark
09/15/2020, 4:17 AM$ prefect agent start docker -l dev -l docker -l gcs-flow-storage