Skip to content

Attribute errors caused by dependency conflicts in "binarize()" #622

@zhangzihao01

Description

@zhangzihao01

Hi pySCENIC team,

I ran into AttributeError probably caused by dependency conflicts when running "binarize()".
Here's my code:

bin_mtx, thresholds = binarize(auc_mtx) 
bin_mtx.to_csv(BIN_MTX_FNAME) 
thresholds.to_frame().rename(columns={0:'threshold'}).to_csv(THR_FNAME)

And I tried to install different versions of numpy,
when "numpy==1.23.1", the numba can't be imported;
when "numpy==1.24.0" or "numpy==1.26.4", AttributeError: module 'numpy' has no attribute 'float';
when "numpy==2.2.0", AttributeError: module 'numpy' has no attribute 'msort'

I appreciate any solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions