Mia
06/02/2022, 8:49 PMfoo.map(list_custom_class)
, i get an error like the following:
Unexpected error: AttributeError("'ThreadPoolExecutor' object has no attribute 'apply_async'")
Traceback (most recent call last):
File "/miniconda3/lib/python3.7/site-packages/prefect/engine/runner.py", line 48, in inner
new_state = method(self, state, *args, **kwargs)
File "/miniconda3/lib/python3.7/site-packages/prefect/engine/flow_runner.py", line 543, in get_flow_run_state
{e: state for e, state in upstream_states.items()}
File "/miniconda3/lib/python3.7/site-packages/prefect/executors/dask.py", line 711, in wait
futures, scheduler=self.scheduler, pool=self._pool, optimize_graph=False
File "/miniconda3/lib/python3.7/site-packages/dask/base.py", line 447, in compute
results = schedule(dsk, keys, **kwargs)
File "/miniconda3/lib/python3.7/site-packages/dask/threaded.py", line 77, in get
pool.apply_async,
AttributeError: 'ThreadPoolExecutor' object has no attribute 'apply_async'
What could be causing this error?Kevin Kho
pip show dask
?Mia
06/02/2022, 8:57 PMKevin Kho
Mia
06/02/2022, 9:00 PMBring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.
Powered by