cortex-lab / phy

phy: interactive visualization and manual spike sorting of large-scale ephys data
BSD 3-Clause "New" or "Revised" License
307 stars 156 forks source link

ClusterView and SimilarityView views open entirely blank and unresponsive; issues exiting Phy window #1165

Closed lukebemish closed 1 year ago

lukebemish commented 2 years ago

I installed phy following the installation instructions with python 3.10.5 on Windows 10. I was attempting to use it with data produced by Kilosort, but ran into issues. I then tried to load the data from the old kwikteam/phy-data repository, but ran into the same issue. The ClusterView and SimilarityView views were blank while loading up Phy; when using it with the data produced by kilosort, the FeatureView window did no load at all. Additionally, when attempting to exit the gui a number of exceptions popped up. I have included screenshots of the relevant screens, a zipped version of the data from kwikteam/phy-data, and the phy.log.

phy.log: https://gist.github.com/lukebemish/7dcb92a9b67ae6cb07de2ad097fac48 Screenshot (1) unnamed Screenshot 2022-07-01 151146 template.zip

lukebemish commented 2 years ago

With the exception of the "Could not create view FeatureView" and "Could not create view TemplateFeatureView" issues that I get with the kilosort data, I can confirm that these issues only show up in python 3.10, and are not an issue in python 3.8. The two missing views, however, are still missing in python 3.8 with the kilosort dataset, though they seem to show up fine with the templace dataset.

lukebemish commented 2 years ago

Nevermind, the python version appears not to be the issue. The issue seems to stem from python versions installed through the Microsoft Store; I will add more info here if I can figure out the direct cause.