Harry Baker
07/28/2021, 10:01 PMTraceback (most recent call last):
File "/home/ubuntu/anaconda3/envs/ca_covid_main/lib/python3.8/site-packages/prefect/agent/agent.py", line 384, in _deploy_flow_run
deployment_info = self.deploy_flow(flow_run)
File "/home/ubuntu/anaconda3/envs/ca_covid_main/lib/python3.8/site-packages/prefect/agent/local/agent.py", line 142, in deploy_flow
env = self.populate_env_vars(flow_run, run_config=run_config)
File "/home/ubuntu/anaconda3/envs/ca_covid_main/lib/python3.8/site-packages/prefect/agent/local/agent.py", line 199, in populate_env_vars
else os.getcwd()
FileNotFoundError: [Errno 2] No such file or directory
Kevin Kho
.prefect
folder, and then yu try run it on a different machine that doesn’t have it in the .prefect
folder. This leads to the serialized flow not being found.
So from what you described, I guess it’s related to the rm
of the directory yep. Gald you figured it out though.