huawei-noah / vega

AutoML tools chain
http://www.noahlab.com.hk/opensource/vega/
Other
842 stars 175 forks source link

ImportError: cannot import name 'apply' from 'dask.compatibility' #193

Closed iamsuryan closed 2 years ago

iamsuryan commented 2 years ago
  1. Cloned the repo
  2. created a conda environment with python3.7 and ran python setup.py install
  3. Ran vega ./examples/nas/nago/nago.yml

    Got this import error ImportError: cannot import name 'apply' from 'dask.compatibility'

zhangjiajin commented 2 years ago

Run the following command:

dask-scheduler

Check whether the command is in the PATH variable.

iamsuryan commented 2 years ago

Running the command gives me the same issue. ImportError: cannot import name 'apply' from 'dask.compatibility'

So, what exactly do I need to add to PATH variable?

zhangjiajin commented 2 years ago

Please update dask and distributed:

conda install -c conda-forge dask distributed

or

pip install dask distributed --upgrade