Open anna4kaa opened 2 weeks ago
Hi,
I ran into the same issue recently while trying to run grnboost2
from a Python 3.12 conda
environment with the default versions of dask
and distributed
.
I found a thread with the same bug on pySCENIC GitHub Issues: #561. It appears that this is caused by some recent (?) changes in dask
/distributed
packages. The proposed fix in the thread suggests installing the following versions: dask-expr==0.5.3 distributed==2024.2.1
. I tried doing so in a Python 3.12 environment, but that led to the same error as you have reported in the pySCENIC thread.
I have then tried to rebuild the environment with Python 3.10.15 and dask-expr==0.5.3 distributed==2024.2.1
. This change resulted in the code running properly to completion. Hopefully this can be of help to other users who encounter the same issue.
tl;dr: Python 3.10.15 + dask-expr==0.5.3 distributed==2024.2.1
works fine, newer versions of Python, dask
, distributed
lead to the bug above.
Hi!
GRNBoost2 produces an error at the very last step. The same happens when I use GENIE3. It seems to be a problem with Dask, however, I could not figure out what is going on.
The code:
The error: