Closed hugosmie closed 2 weeks ago
I encountered this issue when I split the cluster in the feature space with ctl+left click. And after this error, the following operation would raise this issue again and again (like simply select a cluster and so on).
It didn't fix even after I reinstall the phy.
Could you post how you installed phy?
I just followed the instructions to install as follows:
conda create -n phy2 -y cython dask h5py joblib matplotlib numpy pillow pip pyopengl pyqt pyqtwebengine pytest python qtconsole requests responses scikit-learn scipy traitlets
conda activate phy2
pip install git+https://github.com/cortex-lab/phy.git
And actually I had used phy for 2 years, and it ran well previously, this issue just occurred suddenly without any updates, which makes me quite confused.
Yeah different packages update different so that can lead to the problems. I've actually had more success just installing with the yaml file. Could you download:
environment.yml
then edit it to limit python to 3.11 (ie python=3.11, I have PR to fix the 3.12 issue, but it is not merged yet). Try that and let me know how that goes.
Closing for lack of response. Feel free to reopen if you try the suggestion and it doesn't work.
Note that you will need to edit numpy < 2.0 since we have not tested on 2.0.