Chris Gunderson
12/09/2022, 4:40 PMFlow could not be retrieved from deployment.
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/fsspec/registry.py", line 243, in get_filesystem_class
register_implementation(protocol, _import_class(bit["class"]))
File "/usr/local/lib/python3.9/site-packages/fsspec/registry.py", line 266, in _import_class
mod = importlib.import_module(mod)
File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 's3fs'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/prefect/filesystems.py", line 389, in filesystem
self._filesystem = fsspec.filesystem(scheme, **self.settings)
File "/usr/local/lib/python3.9/site-packages/fsspec/registry.py", line 283, in filesystem
cls = get_filesystem_class(protocol)
File "/usr/local/lib/python3.9/site-packages/fsspec/registry.py", line 245, in get_filesystem_class
raise ImportError(bit["err"]) from e
ImportError: Install s3fs to access S3
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/prefect/engine.py", line 260, in retrieve_flow_then_begin_flow_run
flow = await load_flow_from_flow_run(flow_run, client=client)
File "/usr/local/lib/python3.9/site-packages/prefect/client/utilities.py", line 47, in with_injected_client
return await fn(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/prefect/deployments.py", line 167, in load_flow_from_flow_run
await storage_block.get_directory(from_path=deployment.path, local_path=".")
File "/usr/local/lib/python3.9/site-packages/prefect/filesystems.py", line 463, in get_directory
return await self.filesystem.get_directory(
File "/usr/local/lib/python3.9/site-packages/prefect/filesystems.py", line 308, in get_directory
return self.filesystem.get(from_path, local_path, recursive=True)
File "/usr/local/lib/python3.9/site-packages/prefect/filesystems.py", line 392, in filesystem
raise RuntimeError(
RuntimeError: File system created with scheme 's3' from base path '<s3://sra-prefect-training>' could not be created. You are likely missing a Python module required to use the given storage protocol.
Khuyen Tran
12/09/2022, 7:52 PMenv
field?Chris Gunderson
12/09/2022, 7:56 PMMason Menges
12/09/2022, 10:22 PMChris Gunderson
12/09/2022, 10:27 PMRyan Peden
12/14/2022, 5:32 PMChris Gunderson
12/14/2022, 5:33 PMRyan Peden
12/14/2022, 5:33 PMChris Gunderson
12/14/2022, 5:33 PMRyan Peden
12/14/2022, 5:36 PMChris Gunderson
12/14/2022, 5:37 PMRyan Peden
12/14/2022, 5:38 PMexec
on the arguments passed into itChris Gunderson
12/14/2022, 5:39 PMRyan Peden
12/14/2022, 5:40 PMChris Gunderson
12/14/2022, 5:44 PMRyan Peden
12/14/2022, 6:15 PMChris Gunderson
12/14/2022, 6:15 PMRyan Peden
12/14/2022, 6:16 PMChris Gunderson
12/14/2022, 6:17 PMRyan Peden
12/14/2022, 7:20 PM