Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'ProcessPoolExecutor' object has no attribute 'scatter' #11

Open
pengfzhou opened this issue Jun 3, 2021 · 1 comment

Comments

@pengfzhou
Copy link

with code "tree_r_f=tree.subtree_reconfigure_forest(progbar=True)", I enconter the problem " AttributeError: 'ProcessPoolExecutor' object has no attribute 'scatter' ", could you please help me ?

@jcmgray
Copy link
Owner

jcmgray commented Jun 3, 2021

Ah this is because the parallel options was changed to True by default and the default pool to use was changed away from 'dask'/'ray'. As a workaround you should be able to do any of the following:

tree_r_f = tree.subtree_reconfigure_forest(progbar=True, parallel=False)
tree_r_f = tree.subtree_reconfigure_forest(progbar=True, parallel='ray')
tree_r_f = tree.subtree_reconfigure_forest(progbar=True, parallel='dask')

and I will look into fixing more permanently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants