This error is thrown when xarray is unable to import dask, which almost certainly means that dask is not properly installed in your environment. You should try all the suggestions for re-installing dask and its dependencies using your preferred package manager.
The accepted answer should not be to downgrade xarray - that's not necessary.