can't install tlz module Python for Dask

Viewed 1263

On Windows 10 Python 3.7.9 (IDLE) when I use Dask I isntall delayed first:

pip install delayed

Then I import: from dask import delayed but have an error:

Traceback (most recent call last): File "<pyshell#12>", line 1, in from dask import delayed File "C:\Python379\lib\site-packages\dask\delayed.py", line 7, in from tlz import curry, concat, unique, merge ModuleNotFoundError: No module named 'tlz'

I tried to install modules separately but installed only concat, unique and merge.

1 Answers

On windows seem to be needed to run: pip install tornado==4.5.1 distributed==1.21 dask-ml[complete] too as this coment refers.

Also you need to import Delayed as:

from dask.delayed import delayed
Related