Error with opening kwik-gui

37 views
Skip to first unread message

Jian Carlo Nocon

unread,
Oct 4, 2019, 5:50:54 PM10/4/19
to KlustaViewas
Hi, I just downloaded klusta and am trying to get through the tutorial instructions, but I get an error when I try to use kwik-gui:

(klusta) dhcp-wifi-8021x-155-41-61-48:klustakwik jionocon$ phy kwik-gui hybrid_10sec.kwik

Usage: phy [OPTIONS] COMMAND [ARGS]...


Error: No such command "kwik-gui".


For reference, here is the output when I enter "conda list":


# packages in environment at //miniconda2/envs/klusta:

#

# Name                    Version                   Build  Channel

appnope                   0.1.0                    py37_0  

atomicwrites              1.3.0                    pypi_0    pypi

attrs                     19.2.0                   pypi_0    pypi

backcall                  0.1.0                    py37_0  

blas                      1.0                         mkl  

ca-certificates           2019.8.28                     0  

certifi                   2019.9.11                py37_0  

chardet                   3.0.4                    pypi_0    pypi

click                     7.0                      pypi_0    pypi

cycler                    0.10.0                   py37_0  

cython                    0.29.13          py37h0a44026_0  

dataio                    0.0.5                    pypi_0    pypi

dbus                      1.13.6               h90a0687_0  

decorator                 4.4.0                    py37_1  

expat                     2.2.6                h0a44026_0  

freetype                  2.9.1                hb4e5f40_0  

freetype-py               2.1.0.post1              pypi_0    pypi

gettext                   0.19.8.1             h15daf44_3  

glib                      2.56.2               hd9629dc_0  

h5py                      2.9.0            py37h3134771_0  

hdf5                      1.10.4               hfa1e0ec_0  

icu                       58.2                 h4b95b61_1  

idna                      2.8                      pypi_0    pypi

importlib-metadata        0.23                     pypi_0    pypi

intel-openmp              2019.4                      233  

ipython                   7.8.0            py37h39e3cac_0  

ipython_genutils          0.2.0                    py37_0  

jedi                      0.15.1                   py37_0  

joblib                    0.14.0                   pypi_0    pypi

jpeg                      9b                   he5867d9_2  

kiwisolver                1.1.0            py37h0a44026_0  

klusta                    3.0.16                   pypi_0    pypi

klustakwik2               0.2.6                    pypi_0    pypi

klustaviewa               0.4.7                    pypi_0    pypi

kwiklib                   0.3.7                    pypi_0    pypi

libcxx                    4.0.1                hcfea43d_1  

libcxxabi                 4.0.1                hcfea43d_1  

libedit                   3.1.20181209         hb402a30_0  

libffi                    3.2.1                h475c297_4  

libgfortran               3.0.1                h93005f0_2  

libiconv                  1.15                 hdd342a3_7  

libpng                    1.6.37               ha441bb4_0  

matplotlib                3.1.1            py37h54f8f79_0  

mkl                       2019.4                      233  

mkl-service               2.3.0            py37hfbe908c_0  

mkl_fft                   1.0.14           py37h5e564d8_0  

mkl_random                1.1.0            py37ha771720_0  

more-itertools            7.2.0                    pypi_0    pypi

ncurses                   6.1                  h0a44026_1  

numpy                     1.17.2           py37h99e6662_0  

numpy-base                1.17.2           py37h6575580_0  

openssl                   1.1.1d               h1de35cc_2  

packaging                 19.2                     pypi_0    pypi

parso                     0.5.1                      py_0  

pcre                      8.43                 h0a44026_0  

pexpect                   4.7.0                    py37_0  

phy                       1.0.9                    pypi_0    pypi

phycontrib                1.0.15                   pypi_0    pypi

pickleshare               0.7.5                    py37_0  

pip                       19.2.3                   py37_0  

pluggy                    0.13.0                   pypi_0    pypi

prompt_toolkit            2.0.9                    py37_0  

ptyprocess                0.6.0                    py37_0  

py                        1.8.0                    pypi_0    pypi

pygments                  2.4.2                      py_0  

pymongo                   3.9.0                    pypi_0    pypi

pyopengl                  3.1.0                    pypi_0    pypi

pyparsing                 2.4.2                      py_0  

pyqt5                     5.13.1                   pypi_0    pypi

pyqt5-sip                 4.19.19                  pypi_0    pypi

pytest                    5.2.0                    pypi_0    pypi

python                    3.7.4                h359304d_1  

python-dateutil           2.8.0                    py37_0  

pytz                      2019.2                     py_0  

qt                        5.9.7                h468cd18_1  

readline                  7.0                  h1de35cc_5  

requests                  2.22.0                   pypi_0    pypi

responses                 0.10.6                   pypi_0    pypi

scipy                     1.3.1            py37h1410ff5_0  

setuptools                41.2.0                   py37_0  

sip                       4.19.8           py37h0a44026_0  

six                       1.12.0                   py37_0  

sqlite                    3.30.0               ha441bb4_0  

tk                        8.6.8                ha441bb4_0  

tornado                   6.0.3            py37h1de35cc_0  

tqdm                      4.36.1                   pypi_0    pypi

traitlets                 4.3.3                    pypi_0    pypi

urllib3                   1.25.6                   pypi_0    pypi

utils                     0.9.0                    pypi_0    pypi

vispy                     0.6.1                    pypi_0    pypi

wcwidth                   0.1.7                    py37_0  

wheel                     0.33.6                   py37_0  

xz                        5.2.4                h1de35cc_4  

zipp                      0.6.0                    pypi_0    pypi

zlib                      1.2.11               h1de35cc_3 


Looking at past conversations here, it seems that one solution was to uninstall pyqt5 and install pyqt4 since phy was not compatible with the latter. This solution doesn't work for me:


Collecting package metadata (current_repodata.json): done

Solving environment: failed with initial frozen solve. Retrying with flexible solve.

Collecting package metadata (repodata.json): done

Solving environment: failed with initial frozen solve. Retrying with flexible solve.


PackagesNotFoundError: The following packages are not available from current channels:


  - pyqt4


Current channels:


  - https://repo.anaconda.com/pkgs/main/osx-64

  - https://repo.anaconda.com/pkgs/main/noarch

  - https://repo.anaconda.com/pkgs/r/osx-64

  - https://repo.anaconda.com/pkgs/r/noarch


To search for alternate channels that may provide the conda package you're

looking for, navigate to


    https://anaconda.org


and use the search bar at the top of the page.


What other solutions should I try?


Jio Nocon

Ph.D. student, Natural Sounds and Neural Coding Laboratory

Boston University

Cyrille Rossant

unread,
Oct 7, 2019, 8:56:07 AM10/7/19
to Jian Carlo Nocon, KlustaViewas
Hi, could you try to install the development version of phy (see https://phy.readthedocs.io/en/latest/) and see if it works better?
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/8d9dc45d-70a1-4664-b236-c1c6efd49d57%40googlegroups.com.

Jian Carlo Nocon

unread,
Oct 7, 2019, 1:38:41 PM10/7/19
to KlustaViewas
Alright, I just tried installing the development version of phy and got this:

(phy2) dhcp-wifi-8021x-155-41-101-132:klustakwik jionocon$ phy kwik-gui hybrid_10sec.kwik

Traceback (most recent call last):

  File "//miniconda2/envs/phy2/bin/phy", line 11, in <module>

    load_entry_point('phy', 'console_scripts', 'phy')()

  File "//miniconda2/envs/phy2/lib/python3.7/site-packages/click/core.py", line 764, in __call__

    return self.main(*args, **kwargs)

  File "//miniconda2/envs/phy2/lib/python3.7/site-packages/click/core.py", line 717, in main

    rv = self.invoke(ctx)

  File "//miniconda2/envs/phy2/lib/python3.7/site-packages/click/core.py", line 1137, in invoke

    return _process_result(sub_ctx.command.invoke(sub_ctx))

  File "//miniconda2/envs/phy2/lib/python3.7/site-packages/click/core.py", line 956, in invoke

    return ctx.invoke(self.callback, **ctx.params)

  File "//miniconda2/envs/phy2/lib/python3.7/site-packages/click/core.py", line 555, in invoke

    return callback(*args, **kwargs)

  File "//miniconda2/envs/phy2/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func

    return f(get_current_context(), *args, **kwargs)

  File "/Users/jionocon/Desktop/klustakwik/phy/phy/apps/__init__.py", line 181, in cli_kwik_gui

    from .kwik.gui import kwik_gui

  File "/Users/jionocon/Desktop/klustakwik/phy/phy/apps/kwik/__init__.py", line 11, in <module>

    from .gui import KwikController, kwik_describe, kwik_gui  # noqa

  File "/Users/jionocon/Desktop/klustakwik/phy/phy/apps/kwik/gui.py", line 47, in <module>

    class KwikModelGUI(KwikModel):

NameError: name 'KwikModel' is not defined

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.

Cyrille Rossant

unread,
Oct 8, 2019, 7:45:53 AM10/8/19
to Jian Carlo Nocon, KlustaViewas
Okay, could you do "pip install klusta" and try again?
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/190901e0-8056-47f5-b5a6-537ec4b04d55%40googlegroups.com.

Jian Carlo Nocon

unread,
Oct 8, 2019, 10:56:19 AM10/8/19
to KlustaViewas
Alright, that seemed to work. Thank you so much for your help!
Reply all
Reply to author
Forward
0 new messages