python -c “from dask_yarn import YarnCluster”
Traceback (most recent call last):
File “”, line 1, in
File “…/venv_py39_dask_yarn/lib/python3.9/site-packages/dask_yarn/init.py”, line 6, in
from .core import YarnCluster
File “…/venv_py39_dask_yarn/lib/python3.9/site-packages/dask_yarn/core.py”, line 16, in
from distributed.utils import (
ImportError: cannot import name ‘format_bytes’ from ‘distributed.utils’ (…/venv_py39_dask_yarn/lib/python3.9/site-packages/distributed/utils.py)
kindly help me solve this error
Hi @pankaj, welcome to Dask community,
I thin dask-yarn is lacking support at the moment. The issue you describe is identified here: Issue with deprecated format_bytes · Issue #161 · dask/dask-yarn · GitHub
It should be a simple fix, but there is no maintenance at the moment.