Ian Andres Etnyre Mercader
08/08/2022, 11:05 PMPYTHONPATH=/home/alburati/Proyectos/pipeline/src prefect deployment build src/sources/biorxiv/flows/biorxiv_main_flow.py:biorxiv_main_flow -n 'source_flow' -t source_work
Error:
Flow could not be retrieved from deployment.
Traceback (most recent call last):
File "/home/alburati/anaconda3/envs/nlp_env/lib/python3.7/site-packages/prefect/engine.py", line 246, in retrieve_flow_then_begin_flow_run
flow = await load_flow_from_flow_run(flow_run, client=client)
File "/home/alburati/anaconda3/envs/nlp_env/lib/python3.7/site-packages/prefect/client.py", line 104, in with_injected_client
return await fn(*args, **kwargs)
File "/home/alburati/anaconda3/envs/nlp_env/lib/python3.7/site-packages/prefect/deployments.py", line 325, in load_flow_from_flow_run
await storage_block.get_directory(from_path=None, local_path=".")
File "/home/alburati/anaconda3/envs/nlp_env/lib/python3.7/site-packages/prefect/filesystems.py", line 95, in get_directory
shutil.copytree(from_path, local_path)
File "/home/alburati/anaconda3/envs/nlp_env/lib/python3.7/shutil.py", line 324, in copytree
os.makedirs(dst)
File "/home/alburati/anaconda3/envs/nlp_env/lib/python3.7/os.py", line 223, in makedirs
mkdir(name, mode)
FileExistsError: [Errno 17] File exists: '.'
Any suggestions?Bianca Hoch
08/09/2022, 7:05 PMIan Andres Etnyre Mercader
08/09/2022, 10:53 PMpip install
, correcting this and installing with conda install -c conda-forge prefect
removed the error.Bianca Hoch
08/10/2022, 1:51 PMSegun Adelowo
08/11/2022, 10:30 AMBianca Hoch
08/11/2022, 1:54 PM