cannot import name 'coo_array' from 'scipy.sparse'
Dear author, when I run to python saga_gui.cpy, I get an error called ImportError: cannot import name 'coo_ array' from 'scipy. sparse' Can you tell me where I didn't do it right? Thank you very much
Hi. What is your version of Scipy? I guess this is caused by the version mismatch. You can try to update it.
This is a compatibility issue because it seems that the coo_array feature requires scipy >= 1.8.0 (as stated here). However, this version of scipy also requires python >= 3.8, which is not compatible with the overall environment settings.
To resolve this, I personally downgrade to hdbscan = 0.8.19 using the following command:
conda install -c conda-forge hdbscan=0.8.19
And for your reference I have scipy=1.7.3 and scikit-learn =0.20.4 and this combination works for me.
You can download hdbscan==0.8.24 directly from anaconda.org, install it locally with the command conda install --use-local hdbscan-0.8.24-py37hc1659b7_0.tar.bz2, and then I'll be able to run saga_gui.py