Hi !
I have installed klustakwik to do spike sorting on my dataset. After spike sorting, it generates a .kwik file. I want to access this file using kwik GUI.
But everytime I give the command:
phy kwik-gui hybrid_10sec.kwik
Error is generated as follows :
Usage: phy [OPTIONS] COMMAND [ARGS]...
Error: No such command "kwik-gui".
I even did :
python -c "import phycontrib; print(phycontrib.__file__)"
But the error is :
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/nesnix/Documents/klusta/env/lib/python3.6/site-packages/phycontrib/__init__.py", line 15, in <module>
from .kwik_gui import KwikGUIPlugin, KwikController # noqa
File "/home/nesnix/Documents/klusta/env/lib/python3.6/site-packages/phycontrib/kwik_gui/__init__.py", line 10, in <module>
from .gui import KwikGUIPlugin, KwikController # noqa
File "/home/nesnix/Documents/klusta/env/lib/python3.6/site-packages/phycontrib/kwik_gui/gui.py", line 17, in <module>
from phy.cluster.manual.controller import Controller
File "/home/nesnix/Documents/klusta/env/lib/python3.6/site-packages/phy/cluster/__init__.py", line 6, in <module>
from . import manual
File "/home/nesnix/Documents/klusta/env/lib/python3.6/site-packages/phy/cluster/manual/__init__.py", line 8, in <module>
from .gui_component import ManualClustering
File "/home/nesnix/Documents/klusta/env/lib/python3.6/site-packages/phy/cluster/manual/gui_component.py", line 19, in <module>
from phy.gui.qt import _show_box
File "/home/nesnix/Documents/klusta/env/lib/python3.6/site-packages/phy/gui/__init__.py", line 6, in <module>
from .qt import require_qt, create_app, run_app
File "/home/nesnix/Documents/klusta/env/lib/python3.6/site-packages/phy/gui/qt.py", line 21, in <module>
from PyQt4.QtCore import (Qt, QByteArray, QMetaObject, QObject, # noqa
ModuleNotFoundError: No module named 'PyQt4'
I checked and found that python-qt4 is already installed in my system. I don't understand how to get this GUI working.
Please let me know if anyone has some ideas or workaround for this problem.
Hoping for an early response.
With Warm Regards
Shavika Rastogi
M.Sc. (Neuroscience)
University of Freiburg, Germany