Phy kwik-gui not working....... (URGENT)

48 views
Skip to first unread message

Shavika Rastogi

unread,
Oct 23, 2019, 1:21:04 PM10/23/19
to KlustaViewas
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

Cyrille Rossant

unread,
Oct 23, 2019, 4:09:42 PM10/23/19
to Shavika Rastogi, KlustaViewas
Hello
the latest development version should work better, you should try it as explained here : https://phy.readthedocs.io/en/latest/installation/
All the best,
Cyrille


--
To subscribe, send email to klustaviewa...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "KlustaViewas" group.
To unsubscribe from this group and stop receiving emails from it, send an email to klustaviewas...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/klustaviewas/18ca86bc-330a-4491-b93e-d2820baedfce%40googlegroups.com.

Shavika Rastogi

unread,
Oct 24, 2019, 12:05:13 PM10/24/19
to KlustaViewas
Hi !

It works. Thank you.
To subscribe, send email to klusta...@googlegroups.com

---
You received this message because you are subscribed to the Google Groups "KlustaViewas" group.
To unsubscribe from this group and stop receiving emails from it, send an email to klusta...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages