Open mtehrani-code opened 4 months ago
Hi, spikeinterface-gui is Qt based and do not play well with jupyter (even we do it for demo and tutorial). The best is to run it from standard python script (.py).
however, if you put %gui qt
at the begening of the cell, it can helps - but this depend on the version of jupyter and Qt -
If your analyzer is saved in a folder the best is even to run it from the system terminal. Good luck!
Got the same error with a standard Python script. Solved the issue by installing from source.
git clone https://github.com/SpikeInterface/spikeinterface-gui.git
cd spikeinterface-gui
pip install .
Simon
Hello,
I'm having trouble importing the si GUI in Jupyter notebook. I imported spikeinterface earlier: import spikeinterface.full as si, and followed all the steps in the November 2023 tutorial.
Looking at the steps documented here:
https://github.com/SpikeInterface/spikeinterface-gui
Since I already have sorting_analyzer and the necessary extensions created, I should be able to load the GUI, correct?
When I type import spikeinterface_gui, I get the error:
ImportError: cannot import name 'WaveformPrincipalComponent' from 'spikeinterface.postprocessing' (C:\Users\matta\Documents\GitHub\spikeinterface\src\spikeinterface\postprocessing__init__.py)
I also did pip install PySide6 and pip install spikeinterface-gui but that didn't help.
Please advise.
M