Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

AttributeError: module 'dask' has no attribute 'set_options' after installing dask with conda

I am using annaconda and I just installed dask using below

https://anaconda.org/conda-forge/dask

conda install -c conda-forge dask

I can use read_csv() and no error, however, I got this error . I am wondering if I need to install everything using

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

python -m pip install "dask[complete]"

will it conflict with installed dask using anacondas? Thanks

import dask.multiprocessing
dask.set_options(get=dask.multiprocessing.get)  # set processes as default

AttributeError                            Traceback (most recent call last)
cnrl\users\yongnual\Data\Spyder_workplace\DTS_dashboard\pandas2_high_performance_testing.ipynb Cell 14 line 2
      1 import dask.multiprocessing
----> 2 dask.set_options(get=dask.multiprocessing.get)

AttributeError: module 'dask' has no attribute 'set_options'

>Solution :

It seems that dask.set_options syntax has been replaced by dask.config.set(...) in 2018.

Also, can you try installing distributed alongside?

conda install -c conda-forge dask distributed
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading